Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001916/0.001917, allocations: 119.3 kB / 16.42 MB, free: 6.496 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.002019/0.002019, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.44/1.44, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.446/2.446, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 59.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2/1.202, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.0089/1.211, allocations: 6.11 MB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005222/1.216, allocations: 1.908 MB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/1.218, allocations: 31.88 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/1.219, allocations: 253.3 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001476/1.221, allocations: 222 kB / 1.176 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/1.222, allocations: 0.589 MB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002252/1.225, allocations: 1.741 MB / 1.178 GB, free: 9 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/1.226, allocations: 0.9946 MB / 1.179 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007768/1.227, allocations: 0.5913 MB / 1.179 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006132/1.227, allocations: 0.6411 MB / 1.18 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002274/1.228, allocations: 200 kB / 1.18 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/1.228, allocations: 204 kB / 1.18 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003144/1.228, allocations: 378.7 kB / 1.181 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005982/1.229, allocations: 0.7421 MB / 1.182 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002241/1.231, allocations: 2.296 MB / 1.184 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/1.231, allocations: 3.938 kB / 1.184 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.004e-06/1.231, allocations: 3.938 kB / 1.184 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.178e-05/1.231, allocations: 0 / 1.184 GB, free: 2.906 MB / 0.9044 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.003283/1.234, allocations: 1.803 MB / 1.186 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/1.234, allocations: 12.92 kB / 1.186 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/1.235, allocations: 175.9 kB / 1.186 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/1.236, allocations: 0.873 MB / 1.187 GB, free: 15.93 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.856e-05/1.236, allocations: 86.75 kB / 1.187 GB, free: 15.85 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/1.236, allocations: 120.4 kB / 1.187 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/1.239, allocations: 1.217 MB / 1.188 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/1.239, allocations: 7.938 kB / 1.188 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/1.239, allocations: 55.98 kB / 1.188 GB, free: 14.4 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.888e-05/1.239, allocations: 28 kB / 1.188 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/1.241, allocations: 0.9303 MB / 1.189 GB, free: 13.44 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006881/1.248, allocations: 4.057 MB / 1.193 GB, free: 9.277 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/1.251, allocations: 1.166 MB / 1.194 GB, free: 8.086 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000957/1.252, allocations: 474.7 kB / 1.195 GB, free: 7.617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.379e-05/1.252, allocations: 8.656 kB / 1.195 GB, free: 7.609 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.026e-05/1.252, allocations: 51.16 kB / 1.195 GB, free: 7.547 MB / 0.92 GB Notification: Performance of pre-optimization done (n=75): time 3.606e-06/1.252, allocations: 0 / 1.195 GB, free: 7.547 MB / 0.92 GB Notification: Performance of matching and sorting (n=75): time 0.002509/1.254, allocations: 1.04 MB / 1.196 GB, free: 6.504 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001855/1.255, allocations: 192.6 kB / 1.196 GB, free: 6.273 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/1.256, allocations: 1.015 MB / 1.197 GB, free: 5.242 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.25e-05/1.256, allocations: 45.69 kB / 1.197 GB, free: 5.191 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006615/1.257, allocations: 0.6142 MB / 1.197 GB, free: 4.57 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/1.257, allocations: 273.6 kB / 1.198 GB, free: 4.301 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/1.258, allocations: 162.6 kB / 1.198 GB, free: 4.133 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.258, allocations: 341.9 kB / 1.198 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007715/1.259, allocations: 332.7 kB / 1.198 GB, free: 3.465 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/1.26, allocations: 0.5552 MB / 1.199 GB, free: 2.82 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/1.261, allocations: 0.7828 MB / 1.2 GB, free: 1.984 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.261, allocations: 0 / 1.2 GB, free: 1.984 MB / 0.92 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001995/1.263, allocations: 0.985 MB / 1.201 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/1.263, allocations: 11.94 kB / 1.201 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.263, allocations: 4 kB / 1.201 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/1.263, allocations: 8 kB / 1.201 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007443/1.264, allocations: 191.7 kB / 1.201 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-05/1.264, allocations: 11.94 kB / 1.201 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/1.265, allocations: 167.2 kB / 1.201 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/1.265, allocations: 31.92 kB / 1.201 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008446/1.266, allocations: 486 kB / 1.202 GB, free: 96 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007558/1.267, allocations: 0.4928 MB / 1.202 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001149/1.268, allocations: 0.6775 MB / 1.203 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/1.268, allocations: 4 kB / 1.203 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.001468/1.269, allocations: 0.8523 MB / 1.204 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/1.269, allocations: 11.94 kB / 1.204 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.269, allocations: 4 kB / 1.204 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/1.269, allocations: 11.94 kB / 1.204 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/1.27, allocations: 167.7 kB / 1.204 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/1.27, allocations: 11.98 kB / 1.204 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/1.271, allocations: 127.5 kB / 1.204 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/1.271, allocations: 28 kB / 1.204 GB, free: 13.55 MB / 0.9356 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.0002792/1.271, allocations: 244 kB / 1.204 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/1.271, allocations: 123.1 kB / 1.204 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/1.273, allocations: 0.8216 MB / 1.205 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/1.273, allocations: 3.984 kB / 1.205 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/1.273, allocations: 4 kB / 1.205 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/1.273, allocations: 220.1 kB / 1.205 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/1.274, allocations: 16 kB / 1.205 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005721/1.274, allocations: 67.92 kB / 1.205 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/1.274, allocations: 52.58 kB / 1.205 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002077/1.276, allocations: 0.8719 MB / 1.206 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002636/1.279, allocations: 1.407 MB / 1.208 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008034/1.28, allocations: 373.1 kB / 1.208 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001105/1.281, allocations: 0.6914 MB / 1.209 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of Backend: time 3.11e-07/1.281, allocations: 0 / 1.209 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002492/1.283, allocations: 0.9715 MB / 1.21 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of SimCode: time 0.004216/1.288, allocations: 2.416 MB / 1.212 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of Templates: time 0.03225/1.32, allocations: 15.75 MB / 1.227 GB, free: 5.551 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (rm -f Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches