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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001781/0.001781, allocations: 112.2 kB / 16.42 MB, free: 6.504 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.002218/0.002218, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.601/2.601, allocations: 461.7 MB / 0.7352 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 55.91 kB / 1.054 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 157.4 MB / 1.208 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u): time 0.005547/1.034, allocations: 3.636 MB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002964/1.037, allocations: 1.376 MB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006587/1.038, allocations: 15.94 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004964/1.038, allocations: 110.7 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009218/1.039, allocations: 210.4 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/1.04, allocations: 483.2 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001037/1.042, allocations: 1.043 MB / 1.215 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007322/1.042, allocations: 459.5 kB / 1.215 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004592/1.043, allocations: 398.5 kB / 1.216 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009174/1.052, allocations: 1.817 MB / 1.217 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001768/1.052, allocations: 112 kB / 1.218 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/1.052, allocations: 132 kB / 1.218 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001977/1.053, allocations: 223.2 kB / 1.218 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003584/1.053, allocations: 445.6 kB / 1.218 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/1.054, allocations: 1.321 MB / 1.22 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.054, allocations: 0 / 1.22 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.044e-06/1.054, allocations: 0 / 1.22 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.263e-05/1.054, allocations: 0 / 1.22 GB, free: 2.312 MB / 0.9356 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.002005/1.056, allocations: 1.253 MB / 1.221 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/1.056, allocations: 8.031 kB / 1.221 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/1.056, allocations: 99.72 kB / 1.221 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009108/1.057, allocations: 0.6006 MB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/1.057, allocations: 61.94 kB / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/1.057, allocations: 83.94 kB / 1.222 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/1.059, allocations: 0.6712 MB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/1.059, allocations: 0 / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/1.059, allocations: 35.98 kB / 1.222 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/1.059, allocations: 19.98 kB / 1.222 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/1.06, allocations: 0.5895 MB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/1.063, allocations: 2.091 MB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008394/1.064, allocations: 414.3 kB / 1.225 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/1.065, allocations: 210.1 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/1.065, allocations: 20.34 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006337/1.065, allocations: 352.1 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=52): time 2.665e-06/1.065, allocations: 0 / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=52): time 0.00152/1.067, allocations: 0.6466 MB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/1.067, allocations: 218 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006798/1.068, allocations: 0.629 MB / 1.227 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.946e-05/1.068, allocations: 41.7 kB / 1.227 GB, free: 10 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/1.068, allocations: 387.9 kB / 1.228 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/1.068, allocations: 165.7 kB / 1.228 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/1.068, allocations: 150.5 kB / 1.228 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.069, allocations: 386.7 kB / 1.228 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/1.069, allocations: 216.7 kB / 1.229 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007421/1.07, allocations: 460.9 kB / 1.229 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/1.071, allocations: 0.538 MB / 1.23 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.071, allocations: 3.938 kB / 1.23 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00133/1.072, allocations: 0.6783 MB / 1.23 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.072, allocations: 4.531 kB / 1.23 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.072, allocations: 8 kB / 1.23 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/1.072, allocations: 8 kB / 1.23 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/1.073, allocations: 131.8 kB / 1.23 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/1.073, allocations: 11.94 kB / 1.23 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005436/1.073, allocations: 107.1 kB / 1.231 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/1.073, allocations: 35.92 kB / 1.231 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006097/1.074, allocations: 359.8 kB / 1.231 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006845/1.075, allocations: 460.8 kB / 1.231 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009198/1.076, allocations: 0.529 MB / 1.232 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-06/1.076, allocations: 0 / 1.232 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001235/1.077, allocations: 0.6595 MB / 1.233 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/1.077, allocations: 15.94 kB / 1.233 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.077, allocations: 4 kB / 1.233 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/1.077, allocations: 8 kB / 1.233 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/1.077, allocations: 127.7 kB / 1.233 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.077, allocations: 8 kB / 1.233 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/1.078, allocations: 95.47 kB / 1.233 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/1.078, allocations: 32 kB / 1.233 GB, free: 4.133 MB / 0.9512 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.0002055/1.078, allocations: 234.6 kB / 1.233 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.84e-05/1.078, allocations: 78.94 kB / 1.233 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/1.08, allocations: 0.6009 MB / 1.234 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/1.08, allocations: 3.984 kB / 1.234 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.08, allocations: 0 / 1.234 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/1.08, allocations: 196.1 kB / 1.234 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.84e-05/1.08, allocations: 12 kB / 1.234 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/1.08, allocations: 43.95 kB / 1.234 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.081, allocations: 52.48 kB / 1.234 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001378/1.082, allocations: 0.6118 MB / 1.235 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001619/1.084, allocations: 0.9465 MB / 1.236 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004899/1.084, allocations: 244.4 kB / 1.236 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004831/1.085, allocations: 435 kB / 1.236 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of Backend: time 6.31e-07/1.085, allocations: 0 / 1.236 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002004/1.087, allocations: 0.8017 MB / 1.237 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002033/1.089, allocations: 1.596 MB / 1.239 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of Templates: time 0.01947/1.108, allocations: 11.95 MB / 1.25 GB, free: 2.367 MB / 0.9669 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