Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.388/2.388, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.0009477/0.0009482, allocations: 179.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.000934/0.0009341, allocations: 95.31 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.422e-05, allocations: 3.984 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3638, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/1.512, allocations: 156.8 MB / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/1.512, allocations: 84.77 kB / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02795/1.54, allocations: 9.897 MB / 1.382 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/1.54, allocations: 4 kB / 1.382 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.974e-05/1.54, allocations: 4 kB / 1.382 GB, free: 5.008 MB / 0.8386 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.00124/1.542, allocations: 0.5959 MB / 1.382 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/1.542, allocations: 12.03 kB / 1.382 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/1.542, allocations: 43.83 kB / 1.382 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/1.543, allocations: 362.2 kB / 1.383 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/1.543, allocations: 26.94 kB / 1.383 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/1.543, allocations: 30.8 kB / 1.383 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/1.543, allocations: 246.5 kB / 1.383 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1.543, allocations: 0 / 1.383 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/1.543, allocations: 6.625 kB / 1.383 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/1.543, allocations: 8 kB / 1.383 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/1.544, allocations: 162.6 kB / 1.383 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/1.546, allocations: 0.9413 MB / 1.384 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/1.546, allocations: 183.9 kB / 1.384 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/1.546, allocations: 73.78 kB / 1.384 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/1.546, allocations: 8 kB / 1.384 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/1.546, allocations: 108.6 kB / 1.384 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 2.464e-06/1.546, allocations: 288 / 1.384 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004628/1.547, allocations: 189.9 kB / 1.385 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/1.547, allocations: 81.11 kB / 1.385 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005607/1.548, allocations: 410.4 kB / 1.385 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/1.548, allocations: 29.02 kB / 1.385 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/1.548, allocations: 201.3 kB / 1.385 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/1.548, allocations: 49.86 kB / 1.385 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/1.548, allocations: 2.938 kB / 1.385 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.548, allocations: 351.2 kB / 1.386 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/1.548, allocations: 82.73 kB / 1.386 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/1.548, allocations: 126.2 kB / 1.386 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/1.549, allocations: 99.94 kB / 1.386 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.549, allocations: 0 / 1.386 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004903/1.549, allocations: 281.2 kB / 1.386 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/1.549, allocations: 185.4 kB / 1.386 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.549, allocations: 0 / 1.386 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/1.549, allocations: 8.031 kB / 1.386 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/1.55, allocations: 47.91 kB / 1.386 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/1.55, allocations: 3.938 kB / 1.386 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/1.55, allocations: 44.05 kB / 1.386 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/1.55, allocations: 15.17 kB / 1.386 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.55, allocations: 4 kB / 1.386 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000365/1.55, allocations: 211.7 kB / 1.387 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/1.55, allocations: 0 / 1.387 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/1.55, allocations: 4 kB / 1.387 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/1.551, allocations: 43.48 kB / 1.387 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/1.551, allocations: 0 / 1.387 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/1.551, allocations: 39.45 kB / 1.387 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/1.551, allocations: 7.984 kB / 1.387 GB, free: 0.5 MB / 0.8386 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 () * 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.0001257/1.551, allocations: 130.3 kB / 1.387 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/1.551, allocations: 35.53 kB / 1.387 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/1.551, allocations: 198.1 kB / 1.387 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.551, allocations: 3.984 kB / 1.387 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.552, allocations: 0 / 1.387 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.552, allocations: 0 / 1.387 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008453/1.552, allocations: 0.6257 MB / 1.388 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/1.552, allocations: 8.031 kB / 1.388 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/1.553, allocations: 31.23 kB / 1.388 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/1.553, allocations: 4.031 kB / 1.388 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/1.553, allocations: 4 kB / 1.388 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.371e-06/1.553, allocations: 3.984 kB / 1.388 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.553, allocations: 0 / 1.388 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/1.553, allocations: 309.4 kB / 1.388 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/1.553, allocations: 122.9 kB / 1.388 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/1.553, allocations: 7.312 kB / 1.388 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/1.553, allocations: 23.61 kB / 1.388 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/1.553, allocations: 19.92 kB / 1.388 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/1.553, allocations: 4 kB / 1.388 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003581/1.554, allocations: 304.8 kB / 1.388 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.554, allocations: 3.938 kB / 1.388 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005509/1.554, allocations: 124.3 kB / 1.389 GB, free: 14.78 MB / 0.8542 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) * 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.001014/1.555, allocations: 397.8 kB / 1.389 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005554/1.556, allocations: 297.5 kB / 1.389 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.556, allocations: 0 / 1.389 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/1.556, allocations: 82.48 kB / 1.389 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/1.557, allocations: 88.94 kB / 1.389 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009337/1.558, allocations: 412.2 kB / 1.39 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/1.558, allocations: 0.8033 MB / 1.391 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003826/1.559, allocations: 92.17 kB / 1.391 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/1.559, allocations: 23.44 kB / 1.391 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of SimCode: time 2.524e-06/1.559, allocations: 0 / 1.391 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of Templates: time 0.01219/1.571, allocations: 4.812 MB / 1.395 GB, free: 8.145 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.sim & ./Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom.csv","../files/Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches