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: "" <> buildModelFMU(Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.283/2.283, 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.001104/0.001104, allocations: 189.1 kB / 498.1 MB, free: 5.73 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.54/1.54, allocations: 223.1 MB / 0.7948 GB, free: 17.91 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.0008299/0.0008297, allocations: 107.3 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 10.34 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2802, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.4804, allocations: 156 MB / 1.375 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.4807, allocations: 95.92 kB / 1.375 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02662/0.5074, allocations: 9.915 MB / 1.385 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5074, allocations: 0 / 1.385 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.06e-05/0.5075, allocations: 8 kB / 1.385 GB, free: 11.89 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.001123/0.5086, allocations: 0.675 MB / 1.386 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.5087, allocations: 12.02 kB / 1.386 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.414e-05/0.5088, allocations: 54.89 kB / 1.386 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.997e-05/0.5089, allocations: 47.39 kB / 1.386 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006417/0.5095, allocations: 375.3 kB / 1.386 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.5095, allocations: 24.56 kB / 1.386 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.5096, allocations: 24 kB / 1.386 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.5101, allocations: 263.4 kB / 1.387 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.5101, allocations: 0 / 1.387 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.5101, allocations: 15.94 kB / 1.387 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.5102, allocations: 7.953 kB / 1.387 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.5106, allocations: 193.6 kB / 1.387 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.512, allocations: 0.9429 MB / 1.388 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/0.5126, allocations: 214.5 kB / 1.388 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.5126, allocations: 4 kB / 1.388 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/0.5129, allocations: 131.5 kB / 1.388 GB, free: 8.75 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.5129, allocations: 4 kB / 1.388 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0006513/0.5136, allocations: 275.9 kB / 1.388 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.5137, allocations: 81.11 kB / 1.388 GB, free: 8.375 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.5142, allocations: 416.8 kB / 1.389 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.5142, allocations: 29.7 kB / 1.389 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.5144, allocations: 200.1 kB / 1.389 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.204e-05/0.5145, allocations: 47.36 kB / 1.389 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/0.5145, allocations: 4 kB / 1.389 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5146, allocations: 350.8 kB / 1.389 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.5149, allocations: 99.94 kB / 1.389 GB, free: 7.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.5151, allocations: 157.4 kB / 1.39 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.5154, allocations: 108 kB / 1.39 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5154, allocations: 4 kB / 1.39 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005629/0.5159, allocations: 311.6 kB / 1.39 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.112e-05/0.516, allocations: 190 kB / 1.39 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.516, allocations: 0 / 1.39 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.5161, allocations: 0 / 1.39 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.5163, allocations: 47.97 kB / 1.39 GB, free: 6.398 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.5163, allocations: 3.938 kB / 1.39 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.5165, allocations: 51.66 kB / 1.39 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.5166, allocations: 16 kB / 1.39 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.5166, allocations: 4 kB / 1.39 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003934/0.517, allocations: 220.1 kB / 1.39 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-06/0.517, allocations: 3.938 kB / 1.39 GB, free: 6.105 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/0.517, allocations: 4 kB / 1.39 GB, free: 6.102 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.5172, allocations: 39.92 kB / 1.391 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.5172, allocations: 0 / 1.391 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.5174, allocations: 39.86 kB / 1.391 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.5174, allocations: 11.98 kB / 1.391 GB, free: 6.012 MB / 0.8855 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.0002343/0.5177, allocations: 247 kB / 1.391 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.5177, allocations: 35.53 kB / 1.391 GB, free: 5.727 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/0.5182, allocations: 237.7 kB / 1.391 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5182, allocations: 0 / 1.391 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5182, allocations: 4 kB / 1.391 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5182, allocations: 0 / 1.391 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008893/0.5191, allocations: 0.6552 MB / 1.392 GB, free: 4.766 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5192, allocations: 0 / 1.392 GB, free: 4.766 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.5193, allocations: 31.92 kB / 1.392 GB, free: 4.734 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.5193, allocations: 0 / 1.392 GB, free: 4.734 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.5193, allocations: 7.984 kB / 1.392 GB, free: 4.727 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5193, allocations: 4 kB / 1.392 GB, free: 4.723 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5193, allocations: 3.938 kB / 1.392 GB, free: 4.719 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/0.5198, allocations: 342.7 kB / 1.392 GB, free: 4.359 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.5199, allocations: 120.6 kB / 1.392 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.52, allocations: 0 / 1.392 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.5202, allocations: 27.98 kB / 1.392 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.5202, allocations: 19.92 kB / 1.392 GB, free: 4.176 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.5203, allocations: 8 kB / 1.392 GB, free: 4.168 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003421/0.5206, allocations: 299.1 kB / 1.393 GB, free: 3.883 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5206, allocations: 0 / 1.393 GB, free: 3.883 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005751/0.5212, allocations: 127.8 kB / 1.393 GB, free: 3.758 MB / 0.8855 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.001935/0.5231, allocations: 1.284 MB / 1.394 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006838/0.5238, allocations: 313.8 kB / 1.394 GB, free: 2.297 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5239, allocations: 4 kB / 1.394 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.5241, allocations: 88.08 kB / 1.394 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.5246, allocations: 85.45 kB / 1.394 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.5263, allocations: 1.161 MB / 1.396 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.5267, allocations: 0.8038 MB / 1.396 GB, free: 76 kB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.5269, allocations: 50.94 kB / 1.396 GB, free: 24 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.5271, allocations: 115.5 kB / 1.396 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of SimCode: time 4.81e-07/0.5272, allocations: 0 / 1.396 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.5485, allocations: 7.518 MB / 1.404 GB, free: 8.641 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.5488, allocations: 269.8 kB / 1.404 GB, free: 8.277 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/2.742, allocations: 4.062 kB / 1.404 GB, free: 8.273 MB / 0.9011 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom.fmu > Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom_res.mat does not exist to compare? outputFormat=mat