Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHea.TRooSet|conHea.TRoo|conHea.TSupSet|conHea.y|conHea.yPum|conHea.on",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom") translateModel(Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHea.TRooSet|conHea.TRoo|conHea.TSupSet|conHea.y|conHea.yPum|conHea.on",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 173 kB / 498.1 MB, free: 5.766 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.702/1.702, allocations: 223.2 MB / 0.7948 GB, free: 18.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 99.73 kB / 0.9346 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004317, allocations: 9.344 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.366, allocations: 142.4 MB / 1.223 GB, free: 89.61 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2572/0.6233, allocations: 156 MB / 1.375 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.6237, allocations: 91.94 kB / 1.375 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02644/0.6501, allocations: 9.912 MB / 1.385 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6501, allocations: 4 kB / 1.385 GB, free: 3.375 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.072e-05/0.6502, allocations: 8 kB / 1.385 GB, free: 3.367 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001115/0.6513, allocations: 0.6828 MB / 1.386 GB, free: 2.633 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.6514, allocations: 12.02 kB / 1.386 GB, free: 2.621 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.461e-05/0.6514, allocations: 47.73 kB / 1.386 GB, free: 2.574 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/0.6521, allocations: 371.4 kB / 1.386 GB, free: 2.172 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.6521, allocations: 16.56 kB / 1.386 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.6522, allocations: 20 kB / 1.386 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.6527, allocations: 271.5 kB / 1.386 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.6527, allocations: 0 / 1.386 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.6527, allocations: 4 kB / 1.386 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.6527, allocations: 8 kB / 1.386 GB, free: 1.844 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.6531, allocations: 201.5 kB / 1.387 GB, free: 1.648 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.6546, allocations: 0.9429 MB / 1.388 GB, free: 0.6484 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.6552, allocations: 218.8 kB / 1.388 GB, free: 436 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.6552, allocations: 7.938 kB / 1.388 GB, free: 428 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.6555, allocations: 127.3 kB / 1.388 GB, free: 288 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.6555, allocations: 0 / 1.388 GB, free: 288 kB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0006254/0.6561, allocations: 276 kB / 1.388 GB, free: 8 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.6562, allocations: 81.09 kB / 1.388 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004725/0.6567, allocations: 408.8 kB / 1.389 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.6567, allocations: 33.7 kB / 1.389 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.6569, allocations: 200.1 kB / 1.389 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.6569, allocations: 55.34 kB / 1.389 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.657, allocations: 4 kB / 1.389 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.6571, allocations: 350.8 kB / 1.389 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.6573, allocations: 99.89 kB / 1.389 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.6576, allocations: 157.5 kB / 1.389 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.6578, allocations: 108 kB / 1.39 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6578, allocations: 0 / 1.39 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005486/0.6584, allocations: 319.6 kB / 1.39 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-05/0.6585, allocations: 178 kB / 1.39 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.6585, allocations: 3.953 kB / 1.39 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.6585, allocations: 4 kB / 1.39 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.6587, allocations: 51.94 kB / 1.39 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6587, allocations: 0 / 1.39 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.659, allocations: 47.67 kB / 1.39 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.659, allocations: 19.92 kB / 1.39 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/0.659, allocations: 4 kB / 1.39 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003817/0.6594, allocations: 220.1 kB / 1.39 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.6594, allocations: 4.031 kB / 1.39 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-06/0.6595, allocations: 0 / 1.39 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.6596, allocations: 43.97 kB / 1.39 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.6596, allocations: 4 kB / 1.39 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.6598, allocations: 31.83 kB / 1.39 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.6598, allocations: 12 kB / 1.39 GB, free: 13.55 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TRooMea.tab.nextTimeEvent,TRooMea.tab.nextTimeEvent,$PRE.TRooMea.tab.nextTimeEventScaled,TRooMea.tab.nextTimeEventScaled,$PRE.conHea.hysHea.y,conHea.hysHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.6601, allocations: 245 kB / 1.391 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.6601, allocations: 35.53 kB / 1.391 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004697/0.6606, allocations: 229.8 kB / 1.391 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6606, allocations: 8.031 kB / 1.391 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6606, allocations: 0 / 1.391 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6606, allocations: 7.984 kB / 1.391 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008374/0.6615, allocations: 0.6552 MB / 1.392 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6615, allocations: 4 kB / 1.392 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.6616, allocations: 23.98 kB / 1.392 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6616, allocations: 4.031 kB / 1.392 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.6616, allocations: 4 kB / 1.392 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6617, allocations: 0 / 1.392 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6617, allocations: 0 / 1.392 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.6621, allocations: 346.6 kB / 1.392 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.6622, allocations: 116.6 kB / 1.392 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.6623, allocations: 11.98 kB / 1.392 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.6625, allocations: 23.92 kB / 1.392 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.6625, allocations: 15.94 kB / 1.392 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.6626, allocations: 15.98 kB / 1.392 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003534/0.6629, allocations: 299.1 kB / 1.392 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2e-07/0.6629, allocations: 0 / 1.392 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004713/0.6634, allocations: 127.8 kB / 1.393 GB, free: 11.29 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,TRooMea.tab.nextTimeEvent,TRooMea.tab.nextTimeEventScaled,conHea.hysHea.y) * Number of discrete states: 3 (TRooMea.tab.nextTimeEvent,TRooMea.tab.nextTimeEventScaled,conHea.hysHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009746/0.6644, allocations: 451 kB / 1.393 GB, free: 11 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006349/0.665, allocations: 319.7 kB / 1.393 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.665, allocations: 0 / 1.393 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.6652, allocations: 87.91 kB / 1.393 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.6657, allocations: 83.3 kB / 1.393 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009808/0.6667, allocations: 0.649 MB / 1.394 GB, free: 9.836 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.6671, allocations: 0.7999 MB / 1.395 GB, free: 9.012 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002077/0.6673, allocations: 54.92 kB / 1.395 GB, free: 8.957 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.033e-05/0.6674, allocations: 35.42 kB / 1.395 GB, free: 8.926 MB / 0.9011 GB Notification: Performance of SimCode: time 3.2e-07/0.6674, allocations: 0 / 1.395 GB, free: 8.926 MB / 0.9011 GB Notification: Performance of Templates: time 0.008378/0.6758, allocations: 4.2 MB / 1.399 GB, free: 4.797 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.makefile (rm -f Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.sim & ./Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom.csv","../files/Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches