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.305/2.305, allocations: 390.3 MB / 405.3 MB, free: 13.27 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.001082/0.001082, allocations: 172.9 kB / 498.1 MB, free: 5.523 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.554/1.554, allocations: 223.1 MB / 0.7948 GB, free: 17.96 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.000946/0.0009457, allocations: 102.5 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.000448, allocations: 8.25 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3059, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.4766, allocations: 148.8 MB / 1.368 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.4769, allocations: 59.97 kB / 1.368 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002615/0.4795, allocations: 1.098 MB / 1.369 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4796, allocations: 0 / 1.369 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.4796, allocations: 0 / 1.369 GB, free: 12.05 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.0004122/0.48, allocations: 368.2 kB / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.4801, allocations: 16.03 kB / 1.37 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.319e-05/0.4801, allocations: 38.55 kB / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.4802, allocations: 15.86 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.4804, allocations: 186.8 kB / 1.37 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4804, allocations: 0 / 1.37 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.4804, allocations: 12 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.4806, allocations: 88.47 kB / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4806, allocations: 0 / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.4806, allocations: 4 kB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.4806, allocations: 8 kB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.386e-05/0.4807, allocations: 39.92 kB / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/0.4814, allocations: 452.4 kB / 1.371 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.725e-05/0.4815, allocations: 37.28 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.4815, allocations: 0 / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.4815, allocations: 34.69 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.4816, allocations: 4 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002145/0.4818, allocations: 53.55 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.4818, allocations: 81.09 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.482, allocations: 144 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.482, allocations: 25.7 kB / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.4821, allocations: 115.8 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.336e-06/0.4821, allocations: 4 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.4821, allocations: 224 / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4823, allocations: 323 kB / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.4823, allocations: 11.94 kB / 1.371 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.798e-05/0.4823, allocations: 17.72 kB / 1.371 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.4823, allocations: 12 kB / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4824, allocations: 0 / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.836e-05/0.4824, allocations: 61.53 kB / 1.371 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4825, allocations: 8 kB / 1.371 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4825, allocations: 0 / 1.371 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4825, allocations: 4.156 kB / 1.371 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.799e-05/0.4826, allocations: 7.984 kB / 1.371 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4826, allocations: 4 kB / 1.371 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.4826, allocations: 3.906 kB / 1.371 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.4826, allocations: 0 / 1.371 GB, free: 9.672 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 9.688e-05/0.4827, allocations: 125.7 kB / 1.372 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.4828, allocations: 7.906 kB / 1.372 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.4828, allocations: 11.88 kB / 1.372 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4828, allocations: 0 / 1.372 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4828, allocations: 8 kB / 1.372 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.4829, allocations: 0 / 1.372 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.4832, allocations: 474.8 kB / 1.372 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4832, allocations: 0 / 1.372 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.4833, allocations: 4 kB / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4833, allocations: 0 / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.4833, allocations: 0 / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4833, allocations: 4.062 kB / 1.372 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4833, allocations: 3.938 kB / 1.372 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.863e-05/0.4834, allocations: 87.56 kB / 1.372 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.4834, allocations: 89.02 kB / 1.372 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.4835, allocations: 4 kB / 1.372 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.119e-05/0.4835, allocations: 32 / 1.372 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.4835, allocations: 11.94 kB / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-06/0.4835, allocations: 3.984 kB / 1.372 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.349e-05/0.4836, allocations: 126.3 kB / 1.372 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/0.4836, allocations: 0 / 1.372 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001917/0.4838, allocations: 11.91 kB / 1.372 GB, free: 8.602 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.0003772/0.4842, allocations: 0.6991 MB / 1.373 GB, free: 7.863 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.346e-05/0.4843, allocations: 15.98 kB / 1.373 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4843, allocations: 3.938 kB / 1.373 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.796e-06/0.4843, allocations: 7.938 kB / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.4844, allocations: 12.23 kB / 1.373 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008399/0.4853, allocations: 0.7111 MB / 1.374 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.4855, allocations: 0.697 MB / 1.374 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.4855, allocations: 4.438 kB / 1.374 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.4856, allocations: 27.42 kB / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of SimCode: time 2.9e-07/0.4856, allocations: 0 / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.4973, allocations: 1.477 MB / 1.376 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.4975, allocations: 179.4 kB / 1.376 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.446/1.943, allocations: 0 / 1.376 GB, free: 4.715 MB / 0.8698 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