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.0009485/0.0009484, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001169/0.00117, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.3 MB / 240 MB, free: 5.297 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.486/2.486, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003594, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9332/0.9336, allocations: 142.4 MB / 0.9544 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u): time 0.003525/0.9372, allocations: 2.852 MB / 0.9572 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002474/0.9397, allocations: 1.19 MB / 0.9584 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004967/0.9402, allocations: 13.03 kB / 0.9584 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.9405, allocations: 64.33 kB / 0.9584 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004632/0.941, allocations: 131.6 kB / 0.9586 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007814/0.9418, allocations: 318.1 kB / 0.9589 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007254/0.9426, allocations: 0.7819 MB / 0.9596 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004491/0.943, allocations: 306.9 kB / 0.9599 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.9433, allocations: 240.6 kB / 0.9602 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005181/0.9485, allocations: 3.065 MB / 0.9632 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.9487, allocations: 30.53 kB / 0.9632 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.9489, allocations: 43.94 kB / 0.9632 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.949, allocations: 118.4 kB / 0.9633 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.9491, allocations: 136.6 kB / 0.9635 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007204/0.9499, allocations: 0.8819 MB / 0.9643 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.9499, allocations: 4 kB / 0.9643 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.846e-06/0.9499, allocations: 1 kB / 0.9643 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.9499, allocations: 0 / 0.9643 GB, free: 1.117 MB / 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.001636/0.9516, allocations: 1.04 MB / 0.9653 GB, free: 284 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.9516, allocations: 9.156 kB / 0.9654 GB, free: 284 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.9518, allocations: 88.56 kB / 0.9654 GB, free: 240 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008923/0.9527, allocations: 0.5021 MB / 0.9659 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.953e-05/0.9528, allocations: 56.75 kB / 0.966 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.9529, allocations: 73.22 kB / 0.9661 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.9542, allocations: 0.6315 MB / 0.9667 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.9543, allocations: 3.953 kB / 0.9667 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/0.9543, allocations: 31.19 kB / 0.9667 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.9544, allocations: 16.16 kB / 0.9667 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.9556, allocations: 0.588 MB / 0.9673 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.9585, allocations: 1.737 MB / 0.969 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.9597, allocations: 0.5196 MB / 0.9695 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/0.9602, allocations: 276.7 kB / 0.9698 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.9603, allocations: 7.594 kB / 0.9698 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000694/0.961, allocations: 313.2 kB / 0.9701 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=58): time 3.066e-06/0.961, allocations: 1 kB / 0.9701 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=58): time 0.00182/0.9628, allocations: 0.7104 MB / 0.9708 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.9629, allocations: 66.19 kB / 0.9708 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006666/0.9636, allocations: 0.496 MB / 0.9713 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.9637, allocations: 38.95 kB / 0.9713 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.964, allocations: 343.9 kB / 0.9717 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.9641, allocations: 180.5 kB / 0.9718 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.9641, allocations: 10.22 kB / 0.9719 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.9643, allocations: 369.2 kB / 0.9722 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.9648, allocations: 198.3 kB / 0.9724 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007183/0.9655, allocations: 409.1 kB / 0.9728 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005627/0.9661, allocations: 243.5 kB / 0.973 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.9661, allocations: 1.25 kB / 0.973 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001391/0.9675, allocations: 0.6524 MB / 0.9737 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002365/0.9677, allocations: 204.4 kB / 0.9739 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.9678, allocations: 4 kB / 0.9739 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.9678, allocations: 11.41 kB / 0.9739 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/0.9684, allocations: 139.7 kB / 0.974 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.9684, allocations: 14.11 kB / 0.974 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.9689, allocations: 107.8 kB / 0.9741 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.969, allocations: 26.67 kB / 0.9741 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.969, allocations: 4.469 kB / 0.9741 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001121/0.9701, allocations: 0.5296 MB / 0.9747 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.9701, allocations: 4.719 kB / 0.9747 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.9702, allocations: 16.02 kB / 0.9747 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.9706, allocations: 132 kB / 0.9748 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.9706, allocations: 6.844 kB / 0.9748 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.9711, allocations: 91.88 kB / 0.9749 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.9711, allocations: 22.81 kB / 0.9749 GB, free: 10.09 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 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,scaTem.active,$PRE.scaTem.tActivateLast,scaTem.tActivateLast,scaTem.sampleTrigger,scaYFan.active,$PRE.scaYFan.tActivateLast,scaYFan.tActivateLast,scaYFan.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004361/0.9716, allocations: 291.2 kB / 0.9752 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.056e-05/0.9717, allocations: 59.25 kB / 0.9753 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.9729, allocations: 0.6301 MB / 0.9759 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.973, allocations: 8 kB / 0.9759 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.973, allocations: 0 / 0.9759 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.973, allocations: 3.984 kB / 0.9759 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/0.9758, allocations: 1.656 MB / 0.9775 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.9758, allocations: 8.688 kB / 0.9775 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.9762, allocations: 123.8 kB / 0.9776 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.9762, allocations: 8 kB / 0.9776 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.9763, allocations: 20 kB / 0.9777 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.227e-05/0.9763, allocations: 15.92 kB / 0.9777 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.9763, allocations: 4 kB / 0.9777 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.9776, allocations: 0.8247 MB / 0.9785 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/0.9778, allocations: 192 kB / 0.9787 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.82e-05/0.9779, allocations: 23.98 kB / 0.9787 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.9783, allocations: 55.97 kB / 0.9787 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.9784, allocations: 67.81 kB / 0.9788 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.9785, allocations: 28 kB / 0.9788 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004045/0.9789, allocations: 330.9 kB / 0.9791 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9789, allocations: 0 / 0.9791 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009179/0.9798, allocations: 259 kB / 0.9794 GB, free: 5.289 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004149/0.9802, allocations: 189.3 kB / 0.9796 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.9818, allocations: 0.8101 MB / 0.9804 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.9819, allocations: 0 / 0.9804 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006956/0.9826, allocations: 325.4 kB / 0.9807 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007167/0.9833, allocations: 110.2 kB / 0.9808 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.9858, allocations: 1.457 MB / 0.9822 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/0.9865, allocations: 0.9084 MB / 0.9831 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004721/0.9869, allocations: 108.9 kB / 0.9832 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.9871, allocations: 59.42 kB / 0.9833 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of SimCode: time 4.4e-07/0.9871, allocations: 4 kB / 0.9833 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of Templates: time 0.01473/1.002, allocations: 6.486 MB / 0.9896 GB, free: 10.78 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/jenkins/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