Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",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.284/2.284, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001601/0.001601, allocations: 173.2 kB / 498.1 MB, free: 5.742 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.444/1.444, allocations: 223.2 MB / 0.7948 GB, free: 18.86 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.001052/0.001052, allocations: 88.3 kB / 0.9346 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 9.938 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3125, allocations: 142.4 MB / 1.223 GB, free: 89.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.5032, allocations: 148.9 MB / 1.368 GB, free: 4.395 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.5035, allocations: 59.97 kB / 1.368 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002866/0.5064, allocations: 1.296 MB / 1.37 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5064, allocations: 0 / 1.37 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.5064, allocations: 4 kB / 1.37 GB, free: 3.035 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000378/0.5068, allocations: 383.1 kB / 1.37 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5069, allocations: 12.03 kB / 1.37 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.5069, allocations: 46.55 kB / 1.37 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.5069, allocations: 12.12 kB / 1.37 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.5071, allocations: 178.8 kB / 1.37 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.5071, allocations: 8.125 kB / 1.37 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.5072, allocations: 12 kB / 1.37 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.5073, allocations: 100.7 kB / 1.37 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.5073, allocations: 3.938 kB / 1.37 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.5074, allocations: 8 kB / 1.37 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5074, allocations: 4 kB / 1.37 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.166e-05/0.5075, allocations: 51.97 kB / 1.37 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.5081, allocations: 480.4 kB / 1.371 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.5082, allocations: 57.14 kB / 1.371 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.5082, allocations: 0 / 1.371 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.5082, allocations: 34.56 kB / 1.371 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.5082, allocations: 0 / 1.371 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001891/0.5084, allocations: 73.59 kB / 1.371 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.5085, allocations: 77.11 kB / 1.371 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.5086, allocations: 157.3 kB / 1.371 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.5086, allocations: 25.7 kB / 1.371 GB, free: 1.109 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/0.5087, allocations: 116.1 kB / 1.371 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.5087, allocations: 15.98 kB / 1.371 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.5087, allocations: 7.938 kB / 1.371 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5088, allocations: 326.8 kB / 1.372 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.5089, allocations: 11.94 kB / 1.372 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.383e-05/0.5089, allocations: 25.72 kB / 1.372 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.617e-05/0.5089, allocations: 12 kB / 1.372 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5089, allocations: 0 / 1.372 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.545e-05/0.509, allocations: 77.52 kB / 1.372 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.5091, allocations: 4 kB / 1.372 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.5091, allocations: 4 kB / 1.372 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5091, allocations: 4 kB / 1.372 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.33e-05/0.5092, allocations: 8 kB / 1.372 GB, free: 496 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.5092, allocations: 0 / 1.372 GB, free: 496 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/0.5092, allocations: 7.906 kB / 1.372 GB, free: 488 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.5092, allocations: 96 / 1.372 GB, free: 488 kB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.531e-05/0.5093, allocations: 121.8 kB / 1.372 GB, free: 356 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.5094, allocations: 15.88 kB / 1.372 GB, free: 340 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.5094, allocations: 12.56 kB / 1.372 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.5094, allocations: 4 kB / 1.372 GB, free: 324 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.5094, allocations: 4 kB / 1.372 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5094, allocations: 0 / 1.372 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.5099, allocations: 0.5159 MB / 1.373 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5099, allocations: 0 / 1.373 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.5099, allocations: 4.125 kB / 1.373 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.5099, allocations: 8 kB / 1.373 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.5099, allocations: 0 / 1.373 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.5099, allocations: 4 kB / 1.373 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5099, allocations: 7.922 kB / 1.373 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.5101, allocations: 136.7 kB / 1.373 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.5101, allocations: 96.91 kB / 1.373 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.5102, allocations: 3.984 kB / 1.373 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.788e-05/0.5102, allocations: 4 kB / 1.373 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.5103, allocations: 0 / 1.373 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.5103, allocations: 8 kB / 1.373 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.024e-05/0.5104, allocations: 136.8 kB / 1.373 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5104, allocations: 0 / 1.373 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001829/0.5106, allocations: 12 kB / 1.373 GB, free: 15.25 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0004487/0.511, allocations: 0.8923 MB / 1.374 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.723e-05/0.5111, allocations: 27.94 kB / 1.374 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5111, allocations: 0 / 1.374 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.096e-05/0.5112, allocations: 15.92 kB / 1.374 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.5113, allocations: 8.25 kB / 1.374 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000902/0.5122, allocations: 0.7893 MB / 1.375 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.5125, allocations: 0.7004 MB / 1.375 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.677e-05/0.5125, allocations: 16.55 kB / 1.375 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.5126, allocations: 31.42 kB / 1.375 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of SimCode: time 3.3e-07/0.5126, allocations: 0 / 1.375 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.5254, allocations: 1.639 MB / 1.377 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.5257, allocations: 181.6 kB / 1.377 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.094, allocations: 0 / 1.377 GB, free: 10.89 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat does not exist to compare? outputFormat=mat