Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",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.522/2.522, allocations: 387.4 MB / 394.9 MB, free: 13.32 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: 4.992 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.507/1.507, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 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.0009461/0.0009461, allocations: 91.41 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.885e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3108, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.352, allocations: 148.1 MB / 1.351 GB, free: 17.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/1.353, allocations: 62.2 kB / 1.351 GB, free: 17.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003188/1.356, allocations: 1.088 MB / 1.352 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.823e-06/1.356, allocations: 0 / 1.352 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.367e-06/1.356, allocations: 2.562 kB / 1.352 GB, free: 33.55 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.0003151/1.356, allocations: 363 kB / 1.352 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/1.356, allocations: 10 kB / 1.352 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/1.356, allocations: 8.484 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/1.356, allocations: 182.5 kB / 1.352 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/1.356, allocations: 2.625 kB / 1.352 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/1.356, allocations: 7.969 kB / 1.352 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.919e-05/1.357, allocations: 33.44 kB / 1.352 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/1.357, allocations: 80.56 kB / 1.352 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.357, allocations: 0.5625 kB / 1.352 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/1.357, allocations: 3.938 kB / 1.352 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/1.357, allocations: 2.562 kB / 1.352 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/1.357, allocations: 412 kB / 1.353 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.459e-05/1.357, allocations: 32.28 kB / 1.353 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/1.357, allocations: 22.94 kB / 1.353 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/1.357, allocations: 4.734 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/1.357, allocations: 35.44 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.395e-06/1.357, allocations: 96 / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001543/1.358, allocations: 44.73 kB / 1.353 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/1.358, allocations: 82.52 kB / 1.353 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/1.358, allocations: 115.1 kB / 1.353 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/1.358, allocations: 27.23 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.057e-05/1.358, allocations: 107.7 kB / 1.353 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.967e-06/1.358, allocations: 5.891 kB / 1.353 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/1.358, allocations: 0 / 1.353 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.358, allocations: 317.6 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.86e-05/1.358, allocations: 7.438 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.737e-05/1.358, allocations: 26.88 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/1.358, allocations: 4.406 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.358, allocations: 0 / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.251e-05/1.358, allocations: 58.31 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/1.358, allocations: 8.125 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.358, allocations: 0.7031 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.358, allocations: 1.312 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.561e-05/1.358, allocations: 6.156 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1.358, allocations: 10.67 kB / 1.354 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.747e-05/1.358, allocations: 5.188 kB / 1.354 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/1.358, allocations: 2.172 kB / 1.354 GB, free: 31.72 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.234e-05/1.358, allocations: 102.3 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.49e-05/1.359, allocations: 48.8 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/1.359, allocations: 3.141 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/1.359, allocations: 8.172 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.359, allocations: 0 / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.359, allocations: 12.38 kB / 1.354 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.359, allocations: 0.7031 kB / 1.354 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/1.359, allocations: 448.3 kB / 1.354 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.359, allocations: 0 / 1.354 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/1.359, allocations: 4.562 kB / 1.354 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.359, allocations: 1.5 kB / 1.354 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/1.359, allocations: 3.938 kB / 1.354 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/1.359, allocations: 9.906 kB / 1.354 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.359, allocations: 0 / 1.354 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.37e-05/1.359, allocations: 83.84 kB / 1.354 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/1.359, allocations: 88.61 kB / 1.355 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/1.359, allocations: 1.953 kB / 1.355 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.094e-05/1.359, allocations: 5.344 kB / 1.355 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/1.359, allocations: 2.062 kB / 1.355 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/1.359, allocations: 0 / 1.355 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.541e-05/1.359, allocations: 97.83 kB / 1.355 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.359, allocations: 0 / 1.355 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000174/1.36, allocations: 11.81 kB / 1.355 GB, free: 30.84 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.0003853/1.36, allocations: 0.6908 MB / 1.355 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.21e-05/1.36, allocations: 14.72 kB / 1.355 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.36, allocations: 0 / 1.355 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/1.36, allocations: 11.83 kB / 1.355 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/1.36, allocations: 1.375 kB / 1.355 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/1.361, allocations: 142 kB / 1.355 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/1.361, allocations: 0.6955 MB / 1.356 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.724e-05/1.361, allocations: 5.578 kB / 1.356 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/1.361, allocations: 22.84 kB / 1.356 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.361, allocations: 0 / 1.356 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/1.38, allocations: 0.8845 MB / 1.357 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/1.38, allocations: 144.2 kB / 1.357 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.399/2.779, allocations: 0 / 1.357 GB, free: 29.04 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat does not exist to compare? outputFormat=mat