Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.34/2.34, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001703/0.001703, allocations: 175.7 kB / 498.1 MB, free: 5.75 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.594/1.594, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.0009562/0.0009561, allocations: 94.8 kB / 0.9346 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 13.75 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2728, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.4498, allocations: 148.8 MB / 1.368 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.45, allocations: 63.97 kB / 1.368 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002472/0.4525, allocations: 1.086 MB / 1.369 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4525, allocations: 0 / 1.369 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.4525, allocations: 4 kB / 1.369 GB, free: 12.12 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.0003687/0.4529, allocations: 372.9 kB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.453, allocations: 8.031 kB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.248e-05/0.453, allocations: 46.55 kB / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.4531, allocations: 11.86 kB / 1.37 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.4532, allocations: 178.8 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.4532, allocations: 4 kB / 1.37 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.4533, allocations: 8 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.4534, allocations: 95.38 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4534, allocations: 0 / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.4535, allocations: 4 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.4535, allocations: 0 / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.1e-05/0.4536, allocations: 39.92 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/0.4542, allocations: 448.5 kB / 1.371 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.609e-05/0.4542, allocations: 49.31 kB / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.4542, allocations: 0 / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.4543, allocations: 30.56 kB / 1.371 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.4543, allocations: 0 / 1.371 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001671/0.4545, allocations: 57.61 kB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.4545, allocations: 77.11 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.4546, allocations: 148 kB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.4547, allocations: 25.7 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.4547, allocations: 116 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.334e-06/0.4547, allocations: 0 / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.4548, allocations: 3.938 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.4549, allocations: 327 kB / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.4549, allocations: 11.98 kB / 1.371 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.4549, allocations: 13.72 kB / 1.371 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.4549, allocations: 8 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.455, allocations: 0 / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.691e-05/0.4551, allocations: 65.53 kB / 1.371 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4551, allocations: 4 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.4551, allocations: 4.062 kB / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4551, allocations: 4 kB / 1.371 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.4552, allocations: 7.938 kB / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4552, allocations: 0 / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.4552, allocations: 11.91 kB / 1.371 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.4552, allocations: 0 / 1.371 GB, free: 9.742 MB / 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 7.73e-05/0.4553, allocations: 121.7 kB / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.4554, allocations: 7.906 kB / 1.372 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.4554, allocations: 15.86 kB / 1.372 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4554, allocations: 4 kB / 1.372 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4554, allocations: 0 / 1.372 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4554, allocations: 0 / 1.372 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.4558, allocations: 470.8 kB / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4558, allocations: 0 / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.338e-05/0.4558, allocations: 4 kB / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.4559, allocations: 3.984 kB / 1.372 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.4559, allocations: 4.062 kB / 1.372 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4559, allocations: 4 kB / 1.372 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.4559, allocations: 3.938 kB / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.977e-05/0.456, allocations: 87.58 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.456, allocations: 89 kB / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.4561, allocations: 0 / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/0.4561, allocations: 4.031 kB / 1.372 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.4561, allocations: 4 kB / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.4561, allocations: 0 / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.439e-05/0.4562, allocations: 128 kB / 1.372 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4562, allocations: 0 / 1.372 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001799/0.4564, allocations: 11.91 kB / 1.372 GB, free: 8.68 MB / 0.8698 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.0003671/0.4568, allocations: 0.699 MB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.234e-05/0.4569, allocations: 16 kB / 1.373 GB, free: 7.926 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4569, allocations: 0 / 1.373 GB, free: 7.926 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.29e-05/0.4569, allocations: 11.92 kB / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.457, allocations: 12.23 kB / 1.373 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000852/0.4579, allocations: 0.7008 MB / 1.374 GB, free: 7.133 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.4581, allocations: 0.6926 MB / 1.374 GB, free: 6.414 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.4582, allocations: 8.422 kB / 1.374 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.4582, allocations: 27.42 kB / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of SimCode: time 3.6e-07/0.4582, allocations: 0 / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.471, allocations: 1.476 MB / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.4713, allocations: 181.7 kB / 1.376 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.025, allocations: 4.062 kB / 1.376 GB, free: 4.797 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat does not exist to compare? outputFormat=mat