Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.548/2.548, allocations: 387.1 MB / 399.7 MB, free: 9.434 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.001328/0.001328, allocations: 184.9 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.533/1.533, allocations: 221.3 MB / 0.7872 GB, free: 12.95 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.001182/0.001182, allocations: 91.42 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.969e-05/3.971e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3093, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.332, allocations: 148.7 MB / 1.358 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/1.332, allocations: 61.39 kB / 1.358 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00316/1.335, allocations: 1.092 MB / 1.359 GB, free: 34.72 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.824e-06/1.335, allocations: 0 / 1.359 GB, free: 34.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.466e-06/1.335, allocations: 0 / 1.359 GB, free: 34.72 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.0002875/1.335, allocations: 358.8 kB / 1.359 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/1.336, allocations: 12.17 kB / 1.359 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/1.336, allocations: 43.48 kB / 1.359 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/1.336, allocations: 10.38 kB / 1.359 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/1.336, allocations: 180.1 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/1.336, allocations: 7.906 kB / 1.359 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/1.336, allocations: 7.125 kB / 1.359 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/1.336, allocations: 89.92 kB / 1.36 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.336, allocations: 11.66 kB / 1.36 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/1.336, allocations: 0 / 1.36 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/1.336, allocations: 0 / 1.36 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.132e-05/1.336, allocations: 37.48 kB / 1.36 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/1.337, allocations: 453.7 kB / 1.36 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.933e-05/1.337, allocations: 37.72 kB / 1.36 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/1.337, allocations: 21.62 kB / 1.36 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/1.337, allocations: 3.984 kB / 1.36 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/1.337, allocations: 35.34 kB / 1.36 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/1.337, allocations: 0 / 1.36 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001382/1.337, allocations: 46.5 kB / 1.36 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/1.337, allocations: 85.67 kB / 1.36 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/1.337, allocations: 147.2 kB / 1.36 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/1.337, allocations: 25.7 kB / 1.36 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/1.337, allocations: 109.3 kB / 1.361 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/1.337, allocations: 8.5 kB / 1.361 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/1.337, allocations: 0 / 1.361 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/1.337, allocations: 316.8 kB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/1.337, allocations: 10.75 kB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.701e-05/1.337, allocations: 21.98 kB / 1.361 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/1.337, allocations: 12.5 kB / 1.361 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.337, allocations: 0 / 1.361 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.946e-05/1.337, allocations: 58.83 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/1.337, allocations: 3.969 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/1.337, allocations: 4.609 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/1.337, allocations: 2.031 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/1.338, allocations: 8.688 kB / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.338, allocations: 0 / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/1.338, allocations: 15.78 kB / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/1.338, allocations: 0 / 1.361 GB, free: 32.82 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 5.659e-05/1.338, allocations: 111 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/1.338, allocations: 8.453 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/1.338, allocations: 12.5 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/1.338, allocations: 0 / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/1.338, allocations: 0.7031 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/1.338, allocations: 4 kB / 1.361 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/1.338, allocations: 470.4 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.338, allocations: 7.031 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.731e-05/1.338, allocations: 224 / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.338, allocations: 8.547 kB / 1.362 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/1.338, allocations: 7.875 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.338, allocations: 0 / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.338, allocations: 64 / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.468e-05/1.338, allocations: 92.72 kB / 1.362 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/1.338, allocations: 87.66 kB / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/1.338, allocations: 3.75 kB / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.133e-05/1.338, allocations: 0.7969 kB / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/1.338, allocations: 4.031 kB / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/1.338, allocations: 0.7969 kB / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.9e-05/1.338, allocations: 124.3 kB / 1.362 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.338, allocations: 0 / 1.362 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001805/1.339, allocations: 11.64 kB / 1.362 GB, free: 31.94 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.0003293/1.339, allocations: 0.6934 MB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.769e-05/1.339, allocations: 19.06 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.339, allocations: 0 / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-05/1.339, allocations: 7.766 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/1.339, allocations: 14.83 kB / 1.363 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/1.34, allocations: 140.6 kB / 1.363 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/1.34, allocations: 0.696 MB / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.048e-05/1.34, allocations: 7.172 kB / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/1.34, allocations: 23.55 kB / 1.363 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.34, allocations: 0 / 1.363 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/1.352, allocations: 1.447 MB / 1.365 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/1.352, allocations: 156.3 kB / 1.365 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.902, allocations: 2.531 kB / 1.365 GB, free: 29.99 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat does not exist to compare? outputFormat=mat