Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boxWitExpDam.TRooHeaSet|boxWitExpDam.TRooCooSet|boxWitExpDam.TRoo|boxWitExpDam.conHea.y|boxWitExpDam.conCoo.y|boxWitExpDam.yDam|boxWitExpDam.yVal|boxWitExpDam.conDam.u_s|boxWitExpDam.conDam.u_m|boxWitPreIndDam.TRooHeaSet|boxWitPreIndDam.TRooCooSet|boxWitPreIndDam.TRoo|boxWitPreIndDam.conHea.y|boxWitPreIndDam.conCoo.y|boxWitPreIndDam.yDam|boxWitPreIndDam.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boxWitExpDam.TRooHeaSet|boxWitExpDam.TRooCooSet|boxWitExpDam.TRoo|boxWitExpDam.conHea.y|boxWitExpDam.conCoo.y|boxWitExpDam.yDam|boxWitExpDam.yVal|boxWitExpDam.conDam.u_s|boxWitExpDam.conDam.u_m|boxWitPreIndDam.TRooHeaSet|boxWitPreIndDam.TRooCooSet|boxWitPreIndDam.TRoo|boxWitPreIndDam.conHea.y|boxWitPreIndDam.conCoo.y|boxWitPreIndDam.yDam|boxWitPreIndDam.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 116.3 kB / 16.42 MB, free: 6.02 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.001847/0.001847, allocations: 184.3 kB / 17.35 MB, free: 5.633 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.533/1.533, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.668/2.668, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179/1.18, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.007524/1.188, allocations: 6.114 MB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003977/1.192, allocations: 1.905 MB / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008976/1.192, allocations: 35.88 kB / 1.216 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005912/1.193, allocations: 249.3 kB / 1.217 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004924/1.194, allocations: 210 kB / 1.217 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/1.195, allocations: 0.5852 MB / 1.217 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001585/1.196, allocations: 1.749 MB / 1.219 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/1.198, allocations: 0.9985 MB / 1.22 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006827/1.198, allocations: 0.5913 MB / 1.221 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005576/1.199, allocations: 0.6372 MB / 1.221 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002152/1.199, allocations: 200 kB / 1.221 GB, free: 288 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/1.199, allocations: 200 kB / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002807/1.2, allocations: 386.7 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005867/1.2, allocations: 0.7344 MB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/1.202, allocations: 2.294 MB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.202, allocations: 0 / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.533e-06/1.202, allocations: 0 / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.048e-05/1.202, allocations: 0 / 1.225 GB, free: 12.67 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: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.002865/1.205, allocations: 1.773 MB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.205, allocations: 8.031 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002551/1.205, allocations: 166.9 kB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/1.207, allocations: 0.8682 MB / 1.228 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/1.207, allocations: 86.75 kB / 1.228 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/1.207, allocations: 124.4 kB / 1.228 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/1.209, allocations: 1.21 MB / 1.229 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/1.209, allocations: 7.875 kB / 1.229 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.642e-05/1.209, allocations: 59.98 kB / 1.229 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/1.209, allocations: 28 kB / 1.229 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/1.211, allocations: 0.9342 MB / 1.23 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005312/1.216, allocations: 4.041 MB / 1.234 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/1.219, allocations: 1.176 MB / 1.235 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008175/1.22, allocations: 458.8 kB / 1.236 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.798e-05/1.22, allocations: 12.64 kB / 1.236 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/1.22, allocations: 47.16 kB / 1.236 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=75): time 3.026e-06/1.22, allocations: 7.938 kB / 1.236 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=75): time 0.002284/1.222, allocations: 1.043 MB / 1.237 GB, free: 340 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.222, allocations: 188.6 kB / 1.237 GB, free: 108 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/1.224, allocations: 1.012 MB / 1.238 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.247e-05/1.224, allocations: 45.7 kB / 1.238 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005213/1.224, allocations: 0.6091 MB / 1.238 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/1.224, allocations: 260.3 kB / 1.239 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/1.225, allocations: 158.6 kB / 1.239 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.225, allocations: 337.9 kB / 1.239 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007277/1.226, allocations: 332.7 kB / 1.239 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008936/1.226, allocations: 0.5556 MB / 1.24 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/1.228, allocations: 0.7828 MB / 1.241 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.228, allocations: 4 kB / 1.241 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001874/1.23, allocations: 0.9727 MB / 1.242 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.23, allocations: 15.94 kB / 1.242 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.23, allocations: 4 kB / 1.242 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/1.23, allocations: 8 kB / 1.242 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007262/1.231, allocations: 191.7 kB / 1.242 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/1.231, allocations: 11.98 kB / 1.242 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/1.231, allocations: 158.9 kB / 1.242 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/1.231, allocations: 28 kB / 1.242 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008298/1.232, allocations: 490 kB / 1.243 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006246/1.233, allocations: 0.4889 MB / 1.243 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001018/1.234, allocations: 0.6736 MB / 1.244 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.726e-06/1.234, allocations: 0 / 1.244 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.00131/1.235, allocations: 0.8516 MB / 1.245 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/1.235, allocations: 8.062 kB / 1.245 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.235, allocations: 4 kB / 1.245 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/1.235, allocations: 11.94 kB / 1.245 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/1.236, allocations: 171.7 kB / 1.245 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/1.236, allocations: 11.94 kB / 1.245 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/1.236, allocations: 127.3 kB / 1.245 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/1.236, allocations: 28 kB / 1.245 GB, free: 7.449 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (boxWitPreIndDam.conCoo.con1.y,boxWitPreIndDam.conHea.con1.y,boxWitExpDam.conDam.con1.y,boxWitExpDam.conCoo.con1.y,boxWitExpDam.conHea.con1.y,boxWitPreIndDam.hysWitHol.y,$PRE.boxWitPreIndDam.hysWitHol.y,boxWitExpDam.hysWitHol.y,$PRE.boxWitExpDam.hysWitHol.y,boxWitPreIndDam.greThr.y,boxWitExpDam.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 105 * 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.0002418/1.237, allocations: 236 kB / 1.245 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/1.237, allocations: 118.5 kB / 1.245 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/1.239, allocations: 0.8177 MB / 1.246 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/1.239, allocations: 3.984 kB / 1.246 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.239, allocations: 0 / 1.246 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/1.239, allocations: 215.3 kB / 1.246 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/1.239, allocations: 20 kB / 1.246 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/1.239, allocations: 75.92 kB / 1.246 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.24, allocations: 52.58 kB / 1.246 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001856/1.241, allocations: 0.8758 MB / 1.247 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002326/1.244, allocations: 1.387 MB / 1.249 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006652/1.244, allocations: 377.1 kB / 1.249 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009147/1.245, allocations: 0.6914 MB / 1.25 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of Backend: time 5.01e-07/1.245, allocations: 3.938 kB / 1.25 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002189/1.248, allocations: 0.9756 MB / 1.251 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of SimCode: time 0.003489/1.251, allocations: 2.373 MB / 1.253 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of Templates: time 0.0268/1.278, allocations: 15.75 MB / 1.268 GB, free: 15.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches