Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 193.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 64.05 kB / 0.8688 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.619/0.6204, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003876/0.6243, allocations: 1.893 MB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.626, allocations: 0.9243 MB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.6261, allocations: 7.844 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.6264, allocations: 19.86 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004725/0.6269, allocations: 103.6 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.6273, allocations: 151.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.6277, allocations: 239.4 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.6279, allocations: 33.66 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.6281, allocations: 103.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02156/0.6496, allocations: 1.705 MB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.447e-05/0.6497, allocations: 16 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.6499, allocations: 36 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.349e-05/0.65, allocations: 43.83 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.6501, allocations: 95.5 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.6504, allocations: 215.3 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6505, allocations: 4 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6505, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.6505, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008875/0.6514, allocations: 0.545 MB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.6514, allocations: 12.03 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.124e-05/0.6515, allocations: 38.73 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.136e-05/0.6516, allocations: 20.75 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.6519, allocations: 247.3 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.6519, allocations: 12 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.6519, allocations: 12 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.6521, allocations: 95.42 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.6522, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.6522, allocations: 4 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.6522, allocations: 4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.6523, allocations: 51.97 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007735/0.6531, allocations: 472.2 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.6535, allocations: 142.7 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.875e-05/0.6536, allocations: 32.84 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.6536, allocations: 0 / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.6538, allocations: 115.2 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.6538, allocations: 4 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003371/0.6542, allocations: 165.2 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.6542, allocations: 55.41 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.6544, allocations: 198.5 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.6544, allocations: 41.62 kB / 1.025 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/0.6545, allocations: 124.4 kB / 1.025 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.6546, allocations: 27.62 kB / 1.025 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.78e-05/0.6547, allocations: 57.67 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6548, allocations: 334.8 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.6549, allocations: 35.92 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.6551, allocations: 124.8 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.6552, allocations: 100.2 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6552, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002402/0.6555, allocations: 153.3 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6555, allocations: 10.66 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.6555, allocations: 3.984 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.6555, allocations: 4.125 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.6556, allocations: 15.94 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6556, allocations: 7.938 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.6558, allocations: 27.83 kB / 1.026 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.6559, allocations: 8 kB / 1.026 GB, free: 10.15 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.656, allocations: 144.1 kB / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.656, allocations: 15.81 kB / 1.026 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.6561, allocations: 25.86 kB / 1.026 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6561, allocations: 4 kB / 1.026 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6561, allocations: 0 / 1.026 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.6561, allocations: 0 / 1.026 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006156/0.6567, allocations: 494.1 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6567, allocations: 4 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.6568, allocations: 11.92 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.6568, allocations: 4 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.6568, allocations: 11.94 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.6568, allocations: 0 / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6568, allocations: 0 / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.657, allocations: 227.2 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.6571, allocations: 92.86 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.6571, allocations: 3.938 kB / 1.027 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.6573, allocations: 19.97 kB / 1.027 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.6573, allocations: 23.92 kB / 1.027 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.6574, allocations: 11.98 kB / 1.027 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001102/0.6575, allocations: 139.2 kB / 1.027 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6575, allocations: 0 / 1.027 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003118/0.6578, allocations: 40 kB / 1.027 GB, free: 8.812 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007106/0.6585, allocations: 0.837 MB / 1.028 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.6588, allocations: 107.7 kB / 1.028 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6588, allocations: 0 / 1.028 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.184e-05/0.6589, allocations: 51.92 kB / 1.028 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.6593, allocations: 63.78 kB / 1.028 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.6613, allocations: 1.952 MB / 1.03 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.6618, allocations: 0.7203 MB / 1.03 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.874e-05/0.6619, allocations: 29.53 kB / 1.03 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.662, allocations: 55.41 kB / 1.03 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.662, allocations: 0 / 1.03 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.408/2.07, allocations: 5.337 MB / 1.036 GB, free: 15.74 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/2.071, allocations: 275.1 kB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/4.43, allocations: 0 / 1.036 GB, free: 15.38 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches