Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003092/0.003092, allocations: 220 kB / 23.01 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.601/1.601, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.336/3.336, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 68.92 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5184/0.5204, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.008383/0.5288, allocations: 5.237 MB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005029/0.5338, allocations: 1.908 MB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.5358, allocations: 47.75 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008334/0.5366, allocations: 257.3 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009763/0.5376, allocations: 218 kB / 1.335 GB, free: 9.293 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.539, allocations: 0.5852 MB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002475/0.5415, allocations: 1.737 MB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.5427, allocations: 0.6516 MB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009502/0.5436, allocations: 0.6186 MB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006824/0.5443, allocations: 0.6412 MB / 1.339 GB, free: 4.988 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.5445, allocations: 200 kB / 1.339 GB, free: 4.793 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.5448, allocations: 204 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003292/0.5452, allocations: 386.7 kB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005433/0.5457, allocations: 0.5712 MB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002475/0.5482, allocations: 2.311 MB / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5482, allocations: 0 / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5482, allocations: 0 / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.878e-05/0.5482, allocations: 0 / 1.342 GB, free: 1.32 MB / 1.029 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.004021/0.5522, allocations: 2.278 MB / 1.344 GB, free: 14.98 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.5523, allocations: 15.97 kB / 1.345 GB, free: 14.97 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004962/0.5528, allocations: 195.8 kB / 1.345 GB, free: 14.78 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.5542, allocations: 0.7956 MB / 1.345 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.809e-05/0.5543, allocations: 94.75 kB / 1.346 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.5545, allocations: 124.4 kB / 1.346 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.557, allocations: 1.439 MB / 1.347 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.557, allocations: 3.938 kB / 1.347 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.5571, allocations: 48 kB / 1.347 GB, free: 12.15 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.5572, allocations: 28 kB / 1.347 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.5591, allocations: 0.9381 MB / 1.348 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005956/0.5651, allocations: 3.376 MB / 1.351 GB, free: 7.703 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.5679, allocations: 1.061 MB / 1.352 GB, free: 6.633 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008344/0.5687, allocations: 431.4 kB / 1.353 GB, free: 6.207 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.5688, allocations: 8.656 kB / 1.353 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.213e-05/0.5689, allocations: 51.16 kB / 1.353 GB, free: 6.137 MB / 1.045 GB Notification: Performance of pre-optimization done (n=75): time 3.106e-06/0.5689, allocations: 0 / 1.353 GB, free: 6.137 MB / 1.045 GB Notification: Performance of matching and sorting (n=75): time 0.002401/0.5713, allocations: 1.036 MB / 1.354 GB, free: 5.098 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.5714, allocations: 196.6 kB / 1.354 GB, free: 4.859 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.5727, allocations: 0.8375 MB / 1.355 GB, free: 4.012 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.423e-05/0.5728, allocations: 45.7 kB / 1.355 GB, free: 3.961 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006161/0.5734, allocations: 0.6175 MB / 1.356 GB, free: 3.336 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.5736, allocations: 273.7 kB / 1.356 GB, free: 3.066 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/0.5739, allocations: 166.6 kB / 1.356 GB, free: 2.898 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.5741, allocations: 338 kB / 1.356 GB, free: 2.562 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007326/0.5748, allocations: 328.7 kB / 1.357 GB, free: 2.238 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.5759, allocations: 0.8603 MB / 1.357 GB, free: 1.215 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.5775, allocations: 0.7867 MB / 1.358 GB, free: 384 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5775, allocations: 0 / 1.358 GB, free: 384 kB / 1.045 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002143/0.5796, allocations: 0.9656 MB / 1.359 GB, free: 15.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.5797, allocations: 8 kB / 1.359 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.5797, allocations: 7.938 kB / 1.359 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.5797, allocations: 11.94 kB / 1.359 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007827/0.5805, allocations: 191.7 kB / 1.359 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.797e-05/0.5805, allocations: 15.92 kB / 1.359 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007552/0.5813, allocations: 143.4 kB / 1.36 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.698e-05/0.5813, allocations: 35.98 kB / 1.36 GB, free: 15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009896/0.5823, allocations: 486 kB / 1.36 GB, free: 14.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009842/0.5833, allocations: 0.7939 MB / 1.361 GB, free: 13.56 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001126/0.5844, allocations: 0.6697 MB / 1.361 GB, free: 12.83 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/0.5844, allocations: 4 kB / 1.361 GB, free: 12.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.001615/0.586, allocations: 0.8407 MB / 1.362 GB, free: 11.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.5861, allocations: 12 kB / 1.362 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5861, allocations: 4 kB / 1.362 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.5861, allocations: 8 kB / 1.362 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.5867, allocations: 171.7 kB / 1.362 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.5867, allocations: 11.94 kB / 1.362 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005946/0.5873, allocations: 123.5 kB / 1.363 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/0.5874, allocations: 32 kB / 1.363 GB, free: 11.63 MB / 1.061 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,boxWitExpDam.hysWitHol.y,$PRE.boxWitExpDam.hysWitHol.y,boxWitPreIndDam.hysWitHol.y,$PRE.boxWitPreIndDam.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.0003299/0.5877, allocations: 236.6 kB / 1.363 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.5879, allocations: 103.3 kB / 1.363 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.5897, allocations: 0.8122 MB / 1.364 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.5897, allocations: 3.984 kB / 1.364 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5897, allocations: 3.938 kB / 1.364 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.5899, allocations: 119.1 kB / 1.364 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.59, allocations: 16 kB / 1.364 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.5905, allocations: 71.92 kB / 1.364 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.5907, allocations: 60.53 kB / 1.364 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002024/0.5927, allocations: 0.8641 MB / 1.365 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0025/0.5952, allocations: 1.383 MB / 1.366 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007408/0.5959, allocations: 353.1 kB / 1.367 GB, free: 7.582 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008807/0.5968, allocations: 0.5654 MB / 1.367 GB, free: 7.02 MB / 1.061 GB Notification: Performance of Backend: time 5.41e-07/0.5968, allocations: 0 / 1.367 GB, free: 7.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00246/0.5993, allocations: 0.9152 MB / 1.368 GB, free: 6.102 MB / 1.061 GB Notification: Performance of SimCode: time 0.004046/0.6033, allocations: 2.394 MB / 1.37 GB, free: 3.66 MB / 1.061 GB Notification: Performance of Templates: time 0.03274/0.6361, allocations: 17.74 MB / 1.388 GB, free: 2.148 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.350868328001525]