Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.From_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.336/2.336, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001/0.001, allocations: 188.2 kB / 492.3 MB, free: 0.5977 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.528/1.528, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0008599/0.0008599, allocations: 95.92 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.235e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3248, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.438, allocations: 148.7 MB / 1.358 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/1.439, allocations: 62.5 kB / 1.358 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003149/1.442, allocations: 1.086 MB / 1.359 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/1.442, allocations: 0 / 1.359 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.442, allocations: 0.5312 kB / 1.359 GB, free: 34.66 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003022/1.442, allocations: 362.6 kB / 1.359 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.442, allocations: 11.53 kB / 1.359 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.682e-05/1.442, allocations: 39.59 kB / 1.359 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/1.442, allocations: 7.75 kB / 1.359 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/1.442, allocations: 187.7 kB / 1.359 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/1.442, allocations: 3.969 kB / 1.359 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/1.442, allocations: 7.062 kB / 1.359 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/1.443, allocations: 92.06 kB / 1.36 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/1.443, allocations: 0 / 1.36 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/1.443, allocations: 3.969 kB / 1.36 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/1.443, allocations: 3.875 kB / 1.36 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/1.443, allocations: 36.84 kB / 1.36 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/1.443, allocations: 456.1 kB / 1.36 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.654e-05/1.443, allocations: 41.5 kB / 1.36 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/1.443, allocations: 17.19 kB / 1.36 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/1.443, allocations: 7.812 kB / 1.36 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/1.443, allocations: 35.11 kB / 1.36 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/1.443, allocations: 0 / 1.36 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001647/1.444, allocations: 46.58 kB / 1.36 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/1.444, allocations: 77.11 kB / 1.36 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/1.444, allocations: 151.8 kB / 1.36 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/1.444, allocations: 25.7 kB / 1.36 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/1.444, allocations: 108.2 kB / 1.361 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/1.444, allocations: 8.484 kB / 1.361 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/1.444, allocations: 0 / 1.361 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.444, allocations: 317.3 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/1.444, allocations: 6.781 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/1.444, allocations: 22.09 kB / 1.361 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.818e-05/1.444, allocations: 16.25 kB / 1.361 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.444, allocations: 0 / 1.361 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.134e-05/1.444, allocations: 58.69 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.444, allocations: 4.516 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.444, allocations: 3.844 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.444, allocations: 1.422 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.683e-05/1.444, allocations: 8.797 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/1.444, allocations: 0 / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/1.444, allocations: 11.69 kB / 1.361 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/1.444, allocations: 0.7656 kB / 1.361 GB, free: 32.76 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.048e-05/1.445, allocations: 115 kB / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/1.445, allocations: 8.5 kB / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/1.445, allocations: 12.67 kB / 1.361 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/1.445, allocations: 0 / 1.361 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.445, allocations: 2.438 kB / 1.361 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.445, allocations: 0 / 1.361 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/1.445, allocations: 473.5 kB / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.445, allocations: 3.969 kB / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/1.445, allocations: 1.016 kB / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.445, allocations: 3.875 kB / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/1.445, allocations: 3.938 kB / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1.445, allocations: 4.5 kB / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.445, allocations: 0 / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.811e-05/1.445, allocations: 93.91 kB / 1.362 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/1.445, allocations: 86.86 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/1.445, allocations: 4.672 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.843e-05/1.445, allocations: 0 / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/1.445, allocations: 7.906 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/1.445, allocations: 3.984 kB / 1.362 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.492e-05/1.445, allocations: 120.1 kB / 1.362 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.445, allocations: 32 / 1.362 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001595/1.445, allocations: 15.77 kB / 1.362 GB, free: 31.87 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003445/1.446, allocations: 0.6941 MB / 1.363 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001036/1.446, allocations: 23.42 kB / 1.363 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.446, allocations: 0 / 1.363 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.368e-06/1.446, allocations: 3.844 kB / 1.363 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/1.446, allocations: 15.52 kB / 1.363 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/1.446, allocations: 132.5 kB / 1.363 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/1.447, allocations: 0.7037 MB / 1.363 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.034e-05/1.447, allocations: 6.672 kB / 1.363 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/1.447, allocations: 27.58 kB / 1.363 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of SimCode: time 3.3e-07/1.447, allocations: 0 / 1.363 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01149/1.458, allocations: 1.445 MB / 1.365 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/1.458, allocations: 162.9 kB / 1.365 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/3.009, allocations: 0 / 1.365 GB, free: 29.93 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat does not exist to compare? outputFormat=mat