Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001294/0.001294, allocations: 109.5 kB / 16.41 MB, free: 6.445 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.001449/0.001449, allocations: 189.5 kB / 17.35 MB, free: 5.707 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.607/1.607, 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 12.0.0-master/package.mo): time 2.857/2.857, allocations: 472.7 MB / 0.746 GB, free: 404 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 59.91 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9367/0.9383, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u): time 0.006412/0.9447, allocations: 3.642 MB / 1.23 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003392/0.9482, allocations: 1.38 MB / 1.231 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008861/0.9491, allocations: 15.94 kB / 1.231 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005904/0.9497, allocations: 110.7 kB / 1.231 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.9509, allocations: 214.4 kB / 1.232 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.9523, allocations: 483.2 kB / 1.232 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001525/0.9538, allocations: 1.043 MB / 1.233 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008055/0.9546, allocations: 451.6 kB / 1.233 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006345/0.9553, allocations: 410.5 kB / 1.234 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0103/0.9656, allocations: 1.822 MB / 1.236 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006222/0.9663, allocations: 112 kB / 1.236 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005524/0.9669, allocations: 127.9 kB / 1.236 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000433/0.9673, allocations: 223.3 kB / 1.236 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008036/0.9681, allocations: 445.6 kB / 1.236 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.9703, allocations: 1.327 MB / 1.238 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.9703, allocations: 0 / 1.238 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.093e-06/0.9703, allocations: 0 / 1.238 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.304e-05/0.9704, allocations: 0 / 1.238 GB, free: 2.078 MB / 0.9512 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.003272/0.9737, allocations: 1.267 MB / 1.239 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.9737, allocations: 8.031 kB / 1.239 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002851/0.974, allocations: 108.3 kB / 1.239 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.9752, allocations: 0.6127 MB / 1.24 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/0.9753, allocations: 62 kB / 1.24 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.9754, allocations: 76 kB / 1.24 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.9769, allocations: 0.6711 MB / 1.241 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.9769, allocations: 0 / 1.241 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-05/0.977, allocations: 32 kB / 1.241 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.977, allocations: 16 kB / 1.241 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.9784, allocations: 0.5972 MB / 1.241 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003961/0.9824, allocations: 2.092 MB / 1.243 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009236/0.9833, allocations: 434.2 kB / 1.244 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/0.9838, allocations: 206.1 kB / 1.244 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6e-05/0.9839, allocations: 12.38 kB / 1.244 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000723/0.9846, allocations: 356.2 kB / 1.244 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=52): time 3.397e-06/0.9846, allocations: 0 / 1.244 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of matching and sorting (n=52): time 0.001763/0.9864, allocations: 0.6547 MB / 1.245 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.9865, allocations: 218.1 kB / 1.245 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009649/0.9875, allocations: 0.6369 MB / 1.246 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.272e-05/0.9876, allocations: 41.7 kB / 1.246 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.9879, allocations: 392.6 kB / 1.246 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.9881, allocations: 174.6 kB / 1.246 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.9884, allocations: 158.6 kB / 1.246 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.9886, allocations: 378.8 kB / 1.247 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005219/0.9891, allocations: 208.8 kB / 1.247 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008044/0.9899, allocations: 469.3 kB / 1.247 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.991, allocations: 0.5341 MB / 1.248 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.991, allocations: 4 kB / 1.248 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001477/0.9925, allocations: 0.6787 MB / 1.249 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.9925, allocations: 8.531 kB / 1.249 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.9925, allocations: 4 kB / 1.249 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.9926, allocations: 12 kB / 1.249 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.9931, allocations: 123.8 kB / 1.249 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/0.9932, allocations: 15.92 kB / 1.249 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.9938, allocations: 111.3 kB / 1.249 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.9939, allocations: 31.98 kB / 1.249 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000678/0.9946, allocations: 358 kB / 1.249 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007383/0.9953, allocations: 452.9 kB / 1.25 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009759/0.9963, allocations: 0.5371 MB / 1.25 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.578e-06/0.9963, allocations: 0 / 1.25 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001386/0.9977, allocations: 0.6637 MB / 1.251 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.9978, allocations: 19.88 kB / 1.251 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.9978, allocations: 4 kB / 1.251 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.9978, allocations: 8 kB / 1.251 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/0.9983, allocations: 123.8 kB / 1.251 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.9983, allocations: 15.92 kB / 1.251 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/0.999, allocations: 99.56 kB / 1.251 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.9991, allocations: 32 kB / 1.251 GB, free: 3.824 MB / 0.9669 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.0004453/0.9995, allocations: 238.6 kB / 1.251 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.9997, allocations: 75.47 kB / 1.251 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/1.001, allocations: 0.6047 MB / 1.252 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.001, allocations: 0 / 1.252 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.001, allocations: 0 / 1.252 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/1.001, allocations: 196.5 kB / 1.252 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/1.001, allocations: 19.94 kB / 1.252 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/1.002, allocations: 47.94 kB / 1.252 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/1.002, allocations: 48.5 kB / 1.252 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001504/1.003, allocations: 0.6235 MB / 1.253 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001701/1.005, allocations: 0.9431 MB / 1.254 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004801/1.006, allocations: 236.5 kB / 1.254 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005698/1.006, allocations: 439 kB / 1.254 GB, free: 324 kB / 0.9669 GB Notification: Performance of Backend: time 4.81e-07/1.006, allocations: 0 / 1.254 GB, free: 324 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002455/1.009, allocations: 0.7979 MB / 1.255 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002539/1.011, allocations: 1.625 MB / 1.257 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of Templates: time 0.02253/1.034, allocations: 12.09 MB / 1.269 GB, free: 1.855 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches