Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.234/2.234, allocations: 387.1 MB / 399.7 MB, free: 9.539 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.0009905/0.0009905, allocations: 177 kB / 492.3 MB, free: 0.6367 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.438/1.438, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009184/0.0009185, allocations: 95.11 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.479e-05/3.49e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3003, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.335, allocations: 148.7 MB / 1.358 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/1.336, allocations: 67.41 kB / 1.358 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00312/1.339, allocations: 1.092 MB / 1.359 GB, free: 34.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.523e-06/1.339, allocations: 0 / 1.359 GB, free: 34.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.907e-06/1.339, allocations: 0 / 1.359 GB, free: 34.61 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.0002856/1.339, allocations: 356.5 kB / 1.359 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/1.339, allocations: 11.53 kB / 1.359 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/1.339, allocations: 43.36 kB / 1.359 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/1.339, allocations: 11.72 kB / 1.359 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/1.339, allocations: 187.7 kB / 1.359 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/1.339, allocations: 3.844 kB / 1.359 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/1.34, allocations: 12.23 kB / 1.359 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/1.34, allocations: 89.98 kB / 1.36 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.34, allocations: 0 / 1.36 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/1.34, allocations: 0 / 1.36 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/1.34, allocations: 3.875 kB / 1.36 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.534e-05/1.34, allocations: 44.75 kB / 1.36 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/1.34, allocations: 445.7 kB / 1.36 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.666e-05/1.34, allocations: 41.12 kB / 1.36 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/1.34, allocations: 16.78 kB / 1.36 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/1.341, allocations: 0.7031 kB / 1.36 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/1.341, allocations: 42.38 kB / 1.36 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/1.341, allocations: 4 kB / 1.36 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001515/1.341, allocations: 45.78 kB / 1.36 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/1.341, allocations: 77.11 kB / 1.36 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/1.341, allocations: 145 kB / 1.36 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/1.341, allocations: 25.7 kB / 1.36 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/1.341, allocations: 104.6 kB / 1.361 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/1.341, allocations: 12.3 kB / 1.361 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/1.341, allocations: 0 / 1.361 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/1.341, allocations: 321 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/1.341, allocations: 10.53 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.858e-05/1.341, allocations: 18.66 kB / 1.361 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.391e-05/1.341, allocations: 11.95 kB / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.341, allocations: 0 / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.239e-05/1.341, allocations: 62.56 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.341, allocations: 12.39 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/1.341, allocations: 0 / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.341, allocations: 1.422 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/1.341, allocations: 4.594 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/1.341, allocations: 4.594 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/1.341, allocations: 7.844 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/1.341, allocations: 5.531 kB / 1.361 GB, free: 32.7 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.243e-05/1.341, allocations: 107.1 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/1.342, allocations: 7.75 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/1.342, allocations: 16.77 kB / 1.361 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.342, allocations: 0 / 1.361 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.342, allocations: 0 / 1.361 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/1.342, allocations: 0.5156 kB / 1.361 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/1.342, allocations: 468.4 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.342, allocations: 3.844 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.798e-05/1.342, allocations: 4.859 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/1.342, allocations: 7.906 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/1.342, allocations: 7.062 kB / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.342, allocations: 0.6094 kB / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.342, allocations: 3.938 kB / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.999e-05/1.342, allocations: 90.2 kB / 1.362 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/1.342, allocations: 86.31 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/1.342, allocations: 8 kB / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/1.342, allocations: 4.5 kB / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/1.342, allocations: 0.5156 kB / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/1.342, allocations: 0 / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.387e-05/1.342, allocations: 127.3 kB / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.342, allocations: 0 / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00016/1.342, allocations: 11.8 kB / 1.362 GB, free: 31.82 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.0003382/1.343, allocations: 0.6966 MB / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.782e-05/1.343, allocations: 11.17 kB / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.343, allocations: 3.875 kB / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.858e-06/1.343, allocations: 7.969 kB / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001084/1.343, allocations: 15.44 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/1.343, allocations: 138.1 kB / 1.363 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/1.344, allocations: 0.6954 MB / 1.363 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.025e-05/1.344, allocations: 7.047 kB / 1.363 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/1.344, allocations: 22.64 kB / 1.363 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of SimCode: time 4.6e-07/1.344, allocations: 4 kB / 1.363 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/1.357, allocations: 1.446 MB / 1.365 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/1.357, allocations: 164.3 kB / 1.365 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/2.854, allocations: 3.812 kB / 1.365 GB, free: 29.89 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat does not exist to compare? outputFormat=mat