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.001577/0.001577, allocations: 112.9 kB / 16.42 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.00157/0.00157, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.923/2.923, allocations: 469.4 MB / 0.7428 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 68.08 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.095, allocations: 159.1 MB / 1.221 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.008985/1.104, allocations: 6.09 MB / 1.227 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004961/1.109, allocations: 1.908 MB / 1.229 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/1.111, allocations: 35.88 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/1.112, allocations: 253.3 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/1.114, allocations: 222 kB / 1.229 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/1.115, allocations: 0.5891 MB / 1.23 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002739/1.118, allocations: 1.749 MB / 1.231 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/1.12, allocations: 0.9907 MB / 1.232 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008116/1.121, allocations: 0.5914 MB / 1.233 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005822/1.121, allocations: 0.6372 MB / 1.234 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002338/1.121, allocations: 200 kB / 1.234 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/1.122, allocations: 203.9 kB / 1.234 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002922/1.122, allocations: 378.7 kB / 1.234 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005529/1.122, allocations: 0.7344 MB / 1.235 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002037/1.125, allocations: 2.302 MB / 1.237 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.125, allocations: 0 / 1.237 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.877e-06/1.125, allocations: 0 / 1.237 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.719e-05/1.125, allocations: 3.938 kB / 1.237 GB, free: 1.398 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.003157/1.128, allocations: 1.773 MB / 1.239 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/1.128, allocations: 8.625 kB / 1.239 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/1.128, allocations: 163 kB / 1.239 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/1.13, allocations: 0.8644 MB / 1.24 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/1.13, allocations: 90.75 kB / 1.24 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/1.13, allocations: 124.4 kB / 1.24 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/1.132, allocations: 1.21 MB / 1.241 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/1.132, allocations: 3.938 kB / 1.241 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.973e-05/1.132, allocations: 55.98 kB / 1.242 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/1.132, allocations: 28 kB / 1.242 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/1.134, allocations: 0.942 MB / 1.242 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005919/1.14, allocations: 4.041 MB / 1.246 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002755/1.143, allocations: 1.167 MB / 1.248 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008356/1.144, allocations: 470.8 kB / 1.248 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-05/1.144, allocations: 8.656 kB / 1.248 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/1.144, allocations: 51.09 kB / 1.248 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=75): time 2.975e-06/1.144, allocations: 0 / 1.248 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75): time 0.00232/1.146, allocations: 1.043 MB / 1.249 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/1.146, allocations: 188.6 kB / 1.249 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/1.148, allocations: 1.016 MB / 1.25 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.193e-05/1.148, allocations: 49.69 kB / 1.25 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005196/1.148, allocations: 0.6014 MB / 1.251 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/1.148, allocations: 256.3 kB / 1.251 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/1.149, allocations: 162.6 kB / 1.251 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.149, allocations: 337.9 kB / 1.252 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007155/1.15, allocations: 328.7 kB / 1.252 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008624/1.15, allocations: 0.5591 MB / 1.252 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/1.152, allocations: 0.7867 MB / 1.253 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.152, allocations: 4 kB / 1.253 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001863/1.154, allocations: 0.9761 MB / 1.254 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/1.154, allocations: 12.41 kB / 1.254 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.154, allocations: 4 kB / 1.254 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/1.154, allocations: 12 kB / 1.254 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/1.155, allocations: 187.7 kB / 1.254 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.26e-05/1.155, allocations: 15.92 kB / 1.254 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006895/1.155, allocations: 158.9 kB / 1.255 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/1.155, allocations: 28 kB / 1.255 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008491/1.156, allocations: 494 kB / 1.255 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006542/1.157, allocations: 492.6 kB / 1.256 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00102/1.158, allocations: 0.6775 MB / 1.256 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/1.158, allocations: 4 kB / 1.256 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.001351/1.159, allocations: 0.8434 MB / 1.257 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/1.159, allocations: 8 kB / 1.257 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.159, allocations: 4.531 kB / 1.257 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.159, allocations: 19.88 kB / 1.257 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/1.16, allocations: 167.7 kB / 1.257 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/1.16, allocations: 11.98 kB / 1.257 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005973/1.16, allocations: 119.3 kB / 1.257 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/1.161, allocations: 36 kB / 1.257 GB, free: 12.16 MB / 0.9825 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.0002735/1.161, allocations: 240.5 kB / 1.258 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/1.161, allocations: 122.5 kB / 1.258 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/1.163, allocations: 0.8293 MB / 1.259 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.163, allocations: 3.984 kB / 1.259 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.163, allocations: 0 / 1.259 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/1.163, allocations: 207.5 kB / 1.259 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.163, allocations: 16 kB / 1.259 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/1.164, allocations: 67.92 kB / 1.259 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/1.164, allocations: 56.58 kB / 1.259 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001851/1.166, allocations: 0.8796 MB / 1.26 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00235/1.168, allocations: 1.391 MB / 1.261 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006703/1.169, allocations: 369.1 kB / 1.261 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009268/1.17, allocations: 0.6914 MB / 1.262 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of Backend: time 4.51e-07/1.17, allocations: 0 / 1.262 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002221/1.172, allocations: 0.9814 MB / 1.263 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of SimCode: time 0.003511/1.175, allocations: 2.38 MB / 1.265 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of Templates: time 0.02696/1.202, allocations: 15.74 MB / 1.281 GB, free: 4.207 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