Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 91.53 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 182.1 kB / 16.92 MB, free: 6.926 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.591/2.591, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7854/0.7858, allocations: 142.4 MB / 0.9557 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u): time 0.003112/0.789, allocations: 3.019 MB / 0.9586 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.7908, allocations: 1.217 MB / 0.9598 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.7911, allocations: 14.34 kB / 0.9598 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.7913, allocations: 63.08 kB / 0.9599 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003829/0.7917, allocations: 123.4 kB / 0.96 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.7922, allocations: 390.4 kB / 0.9604 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006544/0.7929, allocations: 0.8293 MB / 0.9612 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004623/0.7934, allocations: 387.9 kB / 0.9616 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.7936, allocations: 248.5 kB / 0.9618 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0461/0.8397, allocations: 3.257 MB / 0.965 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003018/0.84, allocations: 27 kB / 0.965 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.8403, allocations: 45.17 kB / 0.9651 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.8405, allocations: 120.1 kB / 0.9652 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004077/0.8409, allocations: 329 kB / 0.9655 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009593/0.8419, allocations: 0.8929 MB / 0.9664 GB, free: 396 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8419, allocations: 4 kB / 0.9664 GB, free: 392 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8419, allocations: 1.344 kB / 0.9664 GB, free: 392 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.586e-05/0.8419, allocations: 0 / 0.9664 GB, free: 392 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.002406/0.8444, allocations: 1.02 MB / 0.9674 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.8444, allocations: 9.094 kB / 0.9674 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003382/0.8448, allocations: 92.73 kB / 0.9675 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.8458, allocations: 0.5298 MB / 0.968 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.002e-05/0.8459, allocations: 57.31 kB / 0.968 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.846, allocations: 69.5 kB / 0.9681 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.8478, allocations: 0.6454 MB / 0.9687 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.8478, allocations: 0 / 0.9687 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.378e-05/0.8479, allocations: 26.53 kB / 0.9688 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.8479, allocations: 16.09 kB / 0.9688 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.8495, allocations: 0.589 MB / 0.9693 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003495/0.853, allocations: 1.748 MB / 0.9711 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.8542, allocations: 0.5082 MB / 0.9715 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006093/0.8548, allocations: 278.9 kB / 0.9718 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.8548, allocations: 11.09 kB / 0.9718 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006939/0.8555, allocations: 311.9 kB / 0.9721 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=58): time 2.475e-06/0.8556, allocations: 0 / 0.9721 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=58): time 0.00186/0.8574, allocations: 0.7269 MB / 0.9728 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.8575, allocations: 59.09 kB / 0.9729 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/0.8582, allocations: 0.4928 MB / 0.9734 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.461e-05/0.8583, allocations: 39.48 kB / 0.9734 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.8586, allocations: 343 kB / 0.9737 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.8588, allocations: 180.3 kB / 0.9739 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.001e-05/0.8589, allocations: 61.56 kB / 0.974 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.859, allocations: 372.2 kB / 0.9743 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005656/0.8596, allocations: 206.7 kB / 0.9745 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008532/0.8605, allocations: 408 kB / 0.9749 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.8617, allocations: 0.5617 MB / 0.9755 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.8617, allocations: 5 kB / 0.9755 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001508/0.8632, allocations: 0.6565 MB / 0.9761 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.8634, allocations: 204.3 kB / 0.9763 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.8634, allocations: 8.156 kB / 0.9763 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/0.8635, allocations: 7.438 kB / 0.9763 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.8641, allocations: 147 kB / 0.9764 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.8641, allocations: 7.031 kB / 0.9765 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/0.8647, allocations: 102.6 kB / 0.9766 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/0.8648, allocations: 34.88 kB / 0.9766 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.8648, allocations: 8.969 kB / 0.9766 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001164/0.866, allocations: 0.5437 MB / 0.9771 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.866, allocations: 2.906 kB / 0.9771 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.866, allocations: 8.406 kB / 0.9771 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.8665, allocations: 128 kB / 0.9773 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.8665, allocations: 10.58 kB / 0.9773 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.8671, allocations: 97.25 kB / 0.9774 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.8671, allocations: 26.83 kB / 0.9774 GB, free: 9.035 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 15 (scaYFan.sampleTrigger,scaYFan.tActivateLast,$PRE.scaYFan.tActivateLast,scaYFan.active,scaTem.sampleTrigger,scaTem.tActivateLast,$PRE.scaTem.tActivateLast,scaTem.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0004558/0.8676, allocations: 273.6 kB / 0.9776 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.8677, allocations: 63.5 kB / 0.9777 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.8693, allocations: 0.633 MB / 0.9783 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.8693, allocations: 4 kB / 0.9783 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8693, allocations: 0 / 0.9783 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.8693, allocations: 3.984 kB / 0.9783 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/0.8723, allocations: 1.665 MB / 0.98 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.8723, allocations: 4 kB / 0.98 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.8728, allocations: 119.8 kB / 0.9801 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.457e-05/0.8728, allocations: 8 kB / 0.9801 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.8728, allocations: 23.98 kB / 0.9801 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.596e-05/0.8729, allocations: 11.94 kB / 0.9801 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.8729, allocations: 7.938 kB / 0.9801 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.8743, allocations: 0.8285 MB / 0.9809 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.8746, allocations: 192.2 kB / 0.9811 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.8747, allocations: 24 kB / 0.9811 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.8751, allocations: 51.89 kB / 0.9812 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.8752, allocations: 67.75 kB / 0.9813 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/0.8753, allocations: 27.98 kB / 0.9813 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004272/0.8757, allocations: 342.9 kB / 0.9816 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8757, allocations: 0 / 0.9816 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009374/0.8767, allocations: 243.1 kB / 0.9818 GB, free: 4.574 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (scaYFan.sampleTrigger,scaTem.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004206/0.8771, allocations: 193.3 kB / 0.982 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.8789, allocations: 0.8176 MB / 0.9828 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.8789, allocations: 5 kB / 0.9828 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007645/0.8797, allocations: 336.8 kB / 0.9832 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.8808, allocations: 114.2 kB / 0.9833 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.8833, allocations: 1.565 MB / 0.9848 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/0.8838, allocations: 0.9084 MB / 0.9857 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.884, allocations: 63.41 kB / 0.9857 GB, free: 488 kB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/0.884, allocations: 4 kB / 0.9857 GB, free: 484 kB / 0.7325 GB Notification: Performance of Templates: time 0.01356/0.8976, allocations: 8.194 MB / 0.9937 GB, free: 8.301 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches