Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEcoSet|setPoiVAV.TSupCooSet|setPoiVAV.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEcoSet|setPoiVAV.TSupCooSet|setPoiVAV.y",fileNamePrefix="Buildings_10_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.001757/0.001757, allocations: 110.1 kB / 16.42 MB, free: 6.516 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.00264/0.00264, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.497/1.497, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.633/2.633, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.07, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u): time 0.007027/1.077, allocations: 3.649 MB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003271/1.08, allocations: 1.376 MB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008182/1.081, allocations: 15.94 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006831/1.082, allocations: 114.7 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/1.083, allocations: 218.4 kB / 1.173 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/1.085, allocations: 484.8 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002358/1.087, allocations: 1.039 MB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/1.089, allocations: 455.5 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009131/1.09, allocations: 414.5 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0104/1.1, allocations: 1.819 MB / 1.177 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005489/1.101, allocations: 108 kB / 1.177 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005106/1.101, allocations: 120 kB / 1.177 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004444/1.102, allocations: 215.3 kB / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007914/1.102, allocations: 457.6 kB / 1.177 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002162/1.105, allocations: 1.327 MB / 1.179 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.105, allocations: 0 / 1.179 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.976e-06/1.105, allocations: 0 / 1.179 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.647e-05/1.105, allocations: 4 kB / 1.179 GB, free: 8.418 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003441/1.108, allocations: 1.263 MB / 1.18 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/1.108, allocations: 15.95 kB / 1.18 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/1.109, allocations: 104.3 kB / 1.18 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/1.11, allocations: 0.6088 MB / 1.181 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.881e-05/1.11, allocations: 58 kB / 1.181 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/1.11, allocations: 91.89 kB / 1.181 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/1.112, allocations: 0.6672 MB / 1.181 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/1.112, allocations: 3.938 kB / 1.182 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/1.112, allocations: 32 kB / 1.182 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/1.112, allocations: 16 kB / 1.182 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/1.113, allocations: 0.5895 MB / 1.182 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004061/1.118, allocations: 2.096 MB / 1.184 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008937/1.118, allocations: 422.3 kB / 1.185 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000474/1.119, allocations: 206.1 kB / 1.185 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.504e-05/1.119, allocations: 24.34 kB / 1.185 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006939/1.12, allocations: 348.1 kB / 1.185 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 5.199e-06/1.12, allocations: 4 kB / 1.185 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.001703/1.121, allocations: 0.6509 MB / 1.186 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/1.122, allocations: 222 kB / 1.186 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007732/1.122, allocations: 0.6291 MB / 1.187 GB, free: 112 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/1.122, allocations: 41.7 kB / 1.187 GB, free: 64 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/1.123, allocations: 400.6 kB / 1.187 GB, free: 15.67 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/1.123, allocations: 170.6 kB / 1.187 GB, free: 15.5 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/1.123, allocations: 146.6 kB / 1.187 GB, free: 15.35 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.123, allocations: 382.8 kB / 1.188 GB, free: 14.97 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/1.124, allocations: 220.7 kB / 1.188 GB, free: 14.75 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008027/1.125, allocations: 460.8 kB / 1.188 GB, free: 14.21 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/1.126, allocations: 0.5412 MB / 1.189 GB, free: 13.61 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.126, allocations: 0 / 1.189 GB, free: 13.61 MB / 0.92 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001637/1.127, allocations: 0.6792 MB / 1.19 GB, free: 12.93 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.127, allocations: 7.984 kB / 1.19 GB, free: 12.92 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.127, allocations: 4 kB / 1.19 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/1.128, allocations: 8 kB / 1.19 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/1.128, allocations: 131.8 kB / 1.19 GB, free: 12.78 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/1.128, allocations: 11.94 kB / 1.19 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006448/1.129, allocations: 115.3 kB / 1.19 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/1.129, allocations: 31.92 kB / 1.19 GB, free: 12.62 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006692/1.13, allocations: 354 kB / 1.19 GB, free: 12.27 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007414/1.13, allocations: 468.8 kB / 1.191 GB, free: 11.72 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001/1.131, allocations: 0.5263 MB / 1.191 GB, free: 11.13 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.039e-06/1.131, allocations: 3.984 kB / 1.191 GB, free: 11.13 MB / 0.92 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001646/1.133, allocations: 0.6645 MB / 1.192 GB, free: 10.46 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.133, allocations: 11.94 kB / 1.192 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.133, allocations: 4 kB / 1.192 GB, free: 10.44 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/1.133, allocations: 8 kB / 1.192 GB, free: 10.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/1.134, allocations: 127.7 kB / 1.192 GB, free: 10.31 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/1.134, allocations: 8 kB / 1.192 GB, free: 10.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/1.134, allocations: 107.7 kB / 1.192 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/1.134, allocations: 24 kB / 1.192 GB, free: 10.17 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 (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,setPoiVAV.fanSpe.u2,setPoiVAV.isUnoMod.y,setPoiVAV.not1.u,opeMod.y,setPoiVAV.unoMod.y,plotConfiguration.activate_internal,setPoiVAV.y1SupFan,setPoiVAV.gre.greHys.y,$PRE.setPoiVAV.gre.greHys.y,setPoiVAV.heaSta.greHys.y,$PRE.setPoiVAV.heaSta.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0002501/1.135, allocations: 230.5 kB / 1.192 GB, free: 9.941 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/1.135, allocations: 87.41 kB / 1.192 GB, free: 9.855 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/1.136, allocations: 0.6087 MB / 1.193 GB, free: 9.23 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/1.136, allocations: 3.984 kB / 1.193 GB, free: 9.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.136, allocations: 0 / 1.193 GB, free: 9.227 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/1.136, allocations: 192.5 kB / 1.193 GB, free: 9.02 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/1.137, allocations: 19.92 kB / 1.193 GB, free: 9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/1.137, allocations: 39.95 kB / 1.193 GB, free: 8.961 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/1.137, allocations: 56.48 kB / 1.193 GB, free: 8.906 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001687/1.139, allocations: 0.608 MB / 1.194 GB, free: 8.293 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001889/1.141, allocations: 0.9547 MB / 1.195 GB, free: 7.32 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005202/1.141, allocations: 240.4 kB / 1.195 GB, free: 7.086 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006172/1.142, allocations: 431.1 kB / 1.195 GB, free: 6.672 MB / 0.92 GB Notification: Performance of Backend: time 1.112e-06/1.142, allocations: 0 / 1.195 GB, free: 6.672 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002134/1.144, allocations: 0.7991 MB / 1.196 GB, free: 5.895 MB / 0.92 GB Notification: Performance of SimCode: time 0.002374/1.147, allocations: 1.623 MB / 1.198 GB, free: 4.23 MB / 0.92 GB Notification: Performance of Templates: time 0.02345/1.17, allocations: 12.09 MB / 1.21 GB, free: 8.238 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches