Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.002179/0.002179, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.55/1.55, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 67.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177/1.179, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.004308/1.183, allocations: 2.614 MB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00209/1.186, allocations: 0.9192 MB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003339/1.186, allocations: 11.38 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002766/1.186, allocations: 69.84 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001858/1.186, allocations: 65.11 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000975/1.187, allocations: 318.9 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008313/1.188, allocations: 0.6053 MB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/1.189, allocations: 286.4 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/1.189, allocations: 218.9 kB / 1.094 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/1.189, allocations: 232.6 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/1.19, allocations: 67.62 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/1.19, allocations: 81.91 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/1.19, allocations: 119.2 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002574/1.19, allocations: 251.9 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/1.191, allocations: 0.7411 MB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.191, allocations: 5.578 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/1.191, allocations: 0 / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.044e-05/1.191, allocations: 0 / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001455/1.193, allocations: 0.7714 MB / 1.096 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/1.193, allocations: 13.14 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/1.193, allocations: 55.94 kB / 1.096 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006802/1.194, allocations: 387.4 kB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/1.194, allocations: 32.09 kB / 1.096 GB, free: 436 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/1.194, allocations: 44.39 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/1.195, allocations: 435.5 kB / 1.097 GB, free: 216 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/1.195, allocations: 4.812 kB / 1.097 GB, free: 212 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/1.195, allocations: 16.86 kB / 1.097 GB, free: 200 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/1.195, allocations: 9.875 kB / 1.097 GB, free: 200 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007221/1.196, allocations: 315.8 kB / 1.097 GB, free: 80 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/1.198, allocations: 1.417 MB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/1.199, allocations: 259.2 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/1.2, allocations: 122.5 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/1.2, allocations: 3.781 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/1.2, allocations: 211.6 kB / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/1.2, allocations: 0 / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.0009305/1.201, allocations: 333.3 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/1.201, allocations: 133.5 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/1.202, allocations: 404.6 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/1.202, allocations: 37.3 kB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/1.202, allocations: 242 kB / 1.1 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-05/1.202, allocations: 92.55 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/1.202, allocations: 80.77 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.202, allocations: 347.2 kB / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/1.203, allocations: 125.4 kB / 1.101 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004013/1.203, allocations: 193.8 kB / 1.101 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/1.204, allocations: 283.8 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.204, allocations: 1.859 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009371/1.205, allocations: 418.2 kB / 1.102 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.293e-05/1.205, allocations: 42.59 kB / 1.102 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.205, allocations: 1 kB / 1.102 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/1.205, allocations: 3.828 kB / 1.102 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/1.205, allocations: 62.62 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/1.205, allocations: 3.281 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/1.206, allocations: 69.33 kB / 1.102 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/1.206, allocations: 17.83 kB / 1.102 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004131/1.206, allocations: 238.6 kB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00036/1.207, allocations: 202 kB / 1.102 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005051/1.207, allocations: 279.4 kB / 1.102 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/1.207, allocations: 4 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008003/1.208, allocations: 410.4 kB / 1.103 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.173e-05/1.208, allocations: 35.28 kB / 1.103 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.208, allocations: 1.531 kB / 1.103 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/1.208, allocations: 6.219 kB / 1.103 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/1.208, allocations: 57.02 kB / 1.103 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.208, allocations: 6.75 kB / 1.103 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/1.209, allocations: 63.92 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/1.209, allocations: 16.73 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,uEna.y,$PRE.uEna.y,$whenCondition3,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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.0002029/1.209, allocations: 201.3 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/1.209, allocations: 41.52 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007809/1.21, allocations: 306.8 kB / 1.104 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/1.21, allocations: 1.5 kB / 1.104 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.21, allocations: 0 / 1.104 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/1.21, allocations: 123.4 kB / 1.104 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/1.21, allocations: 6.875 kB / 1.104 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/1.21, allocations: 20.88 kB / 1.104 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/1.21, allocations: 14.59 kB / 1.104 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006802/1.211, allocations: 353.8 kB / 1.104 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008894/1.212, allocations: 0.5628 MB / 1.105 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002733/1.212, allocations: 117.3 kB / 1.105 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003961/1.213, allocations: 292.2 kB / 1.105 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of Backend: time 9.32e-07/1.213, allocations: 1.125 kB / 1.105 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001481/1.214, allocations: 0.5705 MB / 1.106 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001593/1.216, allocations: 1.089 MB / 1.107 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of Templates: time 0.01583/1.231, allocations: 6.36 MB / 1.113 GB, free: 9.414 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches