Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",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.578/2.578, allocations: 393.5 MB / 408.4 MB, free: 11 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.001108/0.001108, allocations: 178.2 kB / 0.4901 GB, free: 2.215 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.739/1.739, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001405/0.001405, allocations: 101.6 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005084, allocations: 13.69 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3436, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2217/0.5654, allocations: 149.6 MB / 1.375 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.5656, allocations: 67.95 kB / 1.375 GB, free: 3.746 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002687/0.5683, allocations: 1.08 MB / 1.377 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5684, allocations: 224 / 1.377 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.5684, allocations: 0 / 1.377 GB, free: 2.664 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00039/0.5688, allocations: 375 kB / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.5688, allocations: 12.56 kB / 1.377 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.459e-05/0.5689, allocations: 34.56 kB / 1.377 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.569, allocations: 15.86 kB / 1.377 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.5691, allocations: 182.8 kB / 1.377 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.5691, allocations: 4 kB / 1.377 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.5692, allocations: 8 kB / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.5693, allocations: 91.39 kB / 1.377 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5694, allocations: 3.938 kB / 1.377 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.5694, allocations: 4 kB / 1.377 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5694, allocations: 0 / 1.377 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.428e-05/0.5695, allocations: 35.98 kB / 1.377 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.5701, allocations: 456.5 kB / 1.378 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.884e-05/0.5702, allocations: 37.16 kB / 1.378 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.5702, allocations: 0 / 1.378 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.5702, allocations: 42.72 kB / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.5702, allocations: 0 / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001754/0.5704, allocations: 49.59 kB / 1.378 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.5705, allocations: 81.05 kB / 1.378 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.5706, allocations: 145.1 kB / 1.378 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.5706, allocations: 25.7 kB / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.5707, allocations: 109.9 kB / 1.378 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.5707, allocations: 11.84 kB / 1.378 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.5707, allocations: 0 / 1.378 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5709, allocations: 326.8 kB / 1.378 GB, free: 428 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.774e-05/0.5709, allocations: 4 kB / 1.378 GB, free: 424 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-05/0.5709, allocations: 17.72 kB / 1.378 GB, free: 400 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.571, allocations: 8 kB / 1.378 GB, free: 392 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.571, allocations: 0 / 1.378 GB, free: 392 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001133/0.5711, allocations: 69.53 kB / 1.379 GB, free: 316 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.5711, allocations: 7.938 kB / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5711, allocations: 3.938 kB / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5712, allocations: 0 / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.643e-05/0.5712, allocations: 8 kB / 1.379 GB, free: 296 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.5713, allocations: 0 / 1.379 GB, free: 296 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.663e-05/0.5713, allocations: 7.984 kB / 1.379 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.5713, allocations: 4 kB / 1.379 GB, free: 284 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 (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 9.681e-05/0.5714, allocations: 117.9 kB / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.5715, allocations: 15.89 kB / 1.379 GB, free: 140 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.5715, allocations: 7.875 kB / 1.379 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.5715, allocations: 4 kB / 1.379 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.5715, allocations: 0 / 1.379 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5715, allocations: 3.938 kB / 1.379 GB, free: 128 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005471/0.5721, allocations: 474.8 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5721, allocations: 0 / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.817e-05/0.5721, allocations: 12 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.5722, allocations: 0 / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.5722, allocations: 0 / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5722, allocations: 0 / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.5722, allocations: 7.984 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.5723, allocations: 95.56 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.5724, allocations: 85.02 kB / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.5724, allocations: 0 / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.5724, allocations: 0 / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.5725, allocations: 3.984 kB / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.5725, allocations: 4 kB / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001069/0.5726, allocations: 127.1 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5726, allocations: 4 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001928/0.5728, allocations: 7.938 kB / 1.38 GB, free: 15.21 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.0005306/0.5733, allocations: 0.6923 MB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.446e-05/0.5734, allocations: 19.94 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5734, allocations: 4.156 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-05/0.5735, allocations: 4 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.5736, allocations: 8.812 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.5745, allocations: 0.701 MB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.5749, allocations: 0.6965 MB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.997e-05/0.5749, allocations: 12.42 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.575, allocations: 23.44 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of SimCode: time 3.71e-07/0.575, allocations: 0 / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.59, allocations: 1.479 MB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.5902, allocations: 187 kB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.193, allocations: 0 / 1.383 GB, free: 11.35 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat does not exist to compare? outputFormat=mat