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.4 MB / 394.9 MB, free: 13.37 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.00113/0.00113, allocations: 184.8 kB / 487.4 MB, free: 5.051 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.467/1.467, allocations: 221.5 MB / 0.7824 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009904/0.0009904, allocations: 87.92 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.88e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3051, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.331, allocations: 148.1 MB / 1.351 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/1.331, allocations: 62.75 kB / 1.351 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003091/1.334, allocations: 1.096 MB / 1.352 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.094e-06/1.334, allocations: 0.5625 kB / 1.352 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.418e-06/1.334, allocations: 7.781 kB / 1.352 GB, free: 33.87 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.0003442/1.335, allocations: 355.6 kB / 1.352 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/1.335, allocations: 7.688 kB / 1.352 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/1.335, allocations: 8.672 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/1.335, allocations: 186.1 kB / 1.352 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/1.335, allocations: 3.938 kB / 1.352 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/1.335, allocations: 3.812 kB / 1.352 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.664e-05/1.335, allocations: 36 kB / 1.352 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/1.335, allocations: 81.88 kB / 1.352 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/1.335, allocations: 0 / 1.352 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/1.335, allocations: 3.875 kB / 1.352 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/1.335, allocations: 0 / 1.352 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/1.336, allocations: 407.2 kB / 1.353 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.755e-05/1.336, allocations: 39.53 kB / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/1.336, allocations: 20.31 kB / 1.353 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/1.336, allocations: 0.5625 kB / 1.353 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.336, allocations: 35.38 kB / 1.353 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/1.336, allocations: 0 / 1.353 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001527/1.336, allocations: 47.58 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/1.336, allocations: 80.81 kB / 1.353 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/1.336, allocations: 116.2 kB / 1.353 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/1.336, allocations: 25.7 kB / 1.353 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/1.336, allocations: 107.9 kB / 1.353 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.939e-06/1.336, allocations: 9.75 kB / 1.353 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/1.336, allocations: 0 / 1.353 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.336, allocations: 314.4 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/1.337, allocations: 6.688 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/1.337, allocations: 22.17 kB / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/1.337, allocations: 8.656 kB / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.337, allocations: 0 / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.575e-05/1.337, allocations: 58.64 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.337, allocations: 6.094 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.337, allocations: 0 / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.337, allocations: 1.25 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-05/1.337, allocations: 5.844 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/1.337, allocations: 3.078 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/1.337, allocations: 9.344 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/1.337, allocations: 4.188 kB / 1.354 GB, free: 32.05 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.657e-05/1.337, allocations: 108 kB / 1.354 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.112e-05/1.337, allocations: 45.8 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/1.337, allocations: 2.625 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/1.337, allocations: 10.72 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.337, allocations: 0.5625 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.337, allocations: 1.312 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.337, allocations: 6.062 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/1.337, allocations: 444.8 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.338, allocations: 3.922 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/1.338, allocations: 8.562 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.338, allocations: 3.938 kB / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/1.338, allocations: 1.312 kB / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.338, allocations: 1.312 kB / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.338, allocations: 4.578 kB / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.839e-05/1.338, allocations: 86.36 kB / 1.354 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/1.338, allocations: 88.91 kB / 1.355 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/1.338, allocations: 2.062 kB / 1.355 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.794e-05/1.338, allocations: 1.281 kB / 1.355 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/1.338, allocations: 6.266 kB / 1.355 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/1.338, allocations: 3.984 kB / 1.355 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.671e-05/1.338, allocations: 98.03 kB / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.338, allocations: 0 / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001757/1.338, allocations: 11.75 kB / 1.355 GB, free: 31.16 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.0004053/1.338, allocations: 0.6899 MB / 1.355 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.968e-05/1.339, allocations: 14.34 kB / 1.355 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.339, allocations: 0 / 1.355 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.987e-06/1.339, allocations: 3.781 kB / 1.355 GB, free: 30.47 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: 12.03 kB / 1.355 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/1.339, allocations: 139.4 kB / 1.355 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/1.339, allocations: 0.6952 MB / 1.356 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.027e-05/1.339, allocations: 5.828 kB / 1.356 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/1.339, allocations: 19.03 kB / 1.356 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.339, allocations: 0 / 1.356 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/1.36, allocations: 0.8786 MB / 1.357 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/1.36, allocations: 153.8 kB / 1.357 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.446/2.807, allocations: 0 / 1.357 GB, free: 29.37 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