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: "" <> buildModelFMU(Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.342/2.342, allocations: 390.5 MB / 398 MB, free: 10.97 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.001079/0.001079, allocations: 184 kB / 491.2 MB, free: 1.547 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.543/1.543, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0008895/0.0008895, allocations: 83.59 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.324e-05/2.328e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3252, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.329, allocations: 156.1 MB / 1.365 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/1.329, allocations: 88.83 kB / 1.365 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02361/1.353, allocations: 9.82 MB / 1.375 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.733e-06/1.353, allocations: 0 / 1.375 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.01e-05/1.353, allocations: 7.719 kB / 1.375 GB, free: 32.41 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.001164/1.354, allocations: 0.61 MB / 1.375 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/1.354, allocations: 7.688 kB / 1.375 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/1.354, allocations: 43.23 kB / 1.375 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006249/1.355, allocations: 367.3 kB / 1.376 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/1.355, allocations: 11.75 kB / 1.376 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/1.355, allocations: 22.12 kB / 1.376 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003008/1.355, allocations: 146.5 kB / 1.376 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/1.356, allocations: 224 kB / 1.376 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/1.356, allocations: 0 / 1.376 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/1.356, allocations: 0 / 1.376 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/1.356, allocations: 7.797 kB / 1.376 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/1.357, allocations: 0.8745 MB / 1.377 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/1.358, allocations: 165.6 kB / 1.377 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/1.358, allocations: 73.12 kB / 1.377 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/1.358, allocations: 3.812 kB / 1.377 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/1.358, allocations: 105.4 kB / 1.377 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 3.206e-06/1.358, allocations: 0 / 1.377 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003595/1.358, allocations: 171.9 kB / 1.377 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/1.359, allocations: 80.92 kB / 1.377 GB, free: 31 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/1.359, allocations: 343.3 kB / 1.378 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/1.359, allocations: 25.7 kB / 1.378 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/1.359, allocations: 203.6 kB / 1.378 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/1.359, allocations: 50.17 kB / 1.378 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/1.359, allocations: 0 / 1.378 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.359, allocations: 346.1 kB / 1.378 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/1.359, allocations: 83.83 kB / 1.378 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/1.36, allocations: 129.9 kB / 1.378 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/1.36, allocations: 89.83 kB / 1.379 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.36, allocations: 3.844 kB / 1.379 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004046/1.36, allocations: 270.3 kB / 1.379 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.73e-05/1.36, allocations: 180.9 kB / 1.379 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/1.36, allocations: 0 / 1.379 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/1.36, allocations: 10.88 kB / 1.379 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/1.361, allocations: 47.81 kB / 1.379 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.361, allocations: 3.844 kB / 1.379 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/1.361, allocations: 41.3 kB / 1.379 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/1.361, allocations: 7.719 kB / 1.379 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/1.361, allocations: 3.875 kB / 1.379 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000319/1.361, allocations: 201 kB / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/1.361, allocations: 0 / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-06/1.361, allocations: 0 / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/1.361, allocations: 47.75 kB / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/1.361, allocations: 0 / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/1.361, allocations: 26.41 kB / 1.379 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/1.362, allocations: 14.16 kB / 1.379 GB, free: 30.06 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 8.576e-05/1.362, allocations: 114.9 kB / 1.379 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002079/1.362, allocations: 168 kB / 1.38 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/1.362, allocations: 30.09 kB / 1.38 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/1.362, allocations: 182.3 kB / 1.38 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.362, allocations: 3.875 kB / 1.38 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.362, allocations: 4 kB / 1.38 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.362, allocations: 7 kB / 1.38 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/1.363, allocations: 0.5651 MB / 1.38 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.363, allocations: 3.875 kB / 1.38 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/1.363, allocations: 28.44 kB / 1.38 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/1.363, allocations: 3.688 kB / 1.38 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/1.363, allocations: 0 / 1.38 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.363, allocations: 0 / 1.38 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.363, allocations: 3.875 kB / 1.38 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/1.363, allocations: 293.4 kB / 1.381 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/1.363, allocations: 113.4 kB / 1.381 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/1.363, allocations: 6.172 kB / 1.381 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/1.363, allocations: 18.47 kB / 1.381 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/1.363, allocations: 26.89 kB / 1.381 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/1.363, allocations: 3.906 kB / 1.381 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001932/1.364, allocations: 243.6 kB / 1.381 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.364, allocations: 0 / 1.381 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004269/1.364, allocations: 127.4 kB / 1.381 GB, free: 29.12 MB / 0.8386 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.00112/1.365, allocations: 1.159 MB / 1.382 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004207/1.366, allocations: 277.7 kB / 1.383 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.366, allocations: 7.844 kB / 1.383 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.438e-05/1.366, allocations: 66.97 kB / 1.383 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/1.366, allocations: 84.42 kB / 1.383 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008464/1.367, allocations: 490.7 kB / 1.383 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/1.367, allocations: 0.7955 MB / 1.384 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002848/1.368, allocations: 88.3 kB / 1.384 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/1.368, allocations: 114.1 kB / 1.384 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.368, allocations: 0 / 1.384 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/1.394, allocations: 6.923 MB / 1.391 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/1.394, allocations: 218.1 kB / 1.391 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.094/3.488, allocations: 0 / 1.391 GB, free: 23.88 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom.fmu > Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom_res.mat does not exist to compare? outputFormat=mat