Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",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.251/2.251, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001249/0.001249, allocations: 190.4 kB / 498.1 MB, free: 5.684 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.623/1.623, allocations: 223.2 MB / 0.7948 GB, free: 17.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.0008807/0.0008806, allocations: 96.33 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003183, allocations: 12.02 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2879, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.4682, allocations: 148.8 MB / 1.368 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.4684, allocations: 63.97 kB / 1.368 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0024/0.4709, allocations: 1.098 MB / 1.369 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4709, allocations: 0 / 1.369 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4709, allocations: 0 / 1.369 GB, free: 11.97 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.0003233/0.4712, allocations: 371 kB / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.4713, allocations: 12.03 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.4713, allocations: 38.55 kB / 1.37 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.4713, allocations: 15.86 kB / 1.37 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.4715, allocations: 174.9 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.4715, allocations: 8 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.4715, allocations: 8 kB / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.4717, allocations: 92.78 kB / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.94e-06/0.4717, allocations: 0 / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.4717, allocations: 4 kB / 1.37 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4717, allocations: 7.984 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.301e-05/0.4718, allocations: 39.92 kB / 1.37 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.4723, allocations: 452.5 kB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.989e-05/0.4724, allocations: 37.28 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-06/0.4724, allocations: 0 / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.4724, allocations: 42.69 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4724, allocations: 0 / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001334/0.4726, allocations: 49.55 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.4726, allocations: 77.11 kB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.4728, allocations: 147.6 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.4728, allocations: 25.7 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.4729, allocations: 116.1 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.4729, allocations: 4.188 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-06/0.4729, allocations: 7.938 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.473, allocations: 322.8 kB / 1.371 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.473, allocations: 4 kB / 1.371 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.4731, allocations: 21.72 kB / 1.371 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.172e-05/0.4731, allocations: 8 kB / 1.371 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4731, allocations: 0 / 1.371 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.672e-05/0.4732, allocations: 69.53 kB / 1.371 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.4732, allocations: 4 kB / 1.371 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.4732, allocations: 0 / 1.371 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.4732, allocations: 0 / 1.371 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.557e-05/0.4733, allocations: 8 kB / 1.371 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.4733, allocations: 0 / 1.371 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.4733, allocations: 3.906 kB / 1.371 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.4733, allocations: 7.938 kB / 1.371 GB, free: 9.586 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 8.221e-05/0.4734, allocations: 121.7 kB / 1.372 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.4735, allocations: 15.95 kB / 1.372 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.4735, allocations: 7.875 kB / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4735, allocations: 4 kB / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.4735, allocations: 0 / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.4735, allocations: 0 / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.4739, allocations: 470.8 kB / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4739, allocations: 4 kB / 1.372 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.474, allocations: 8.047 kB / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.474, allocations: 4 kB / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.474, allocations: 0 / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.474, allocations: 0 / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.474, allocations: 4 kB / 1.372 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.967e-05/0.4741, allocations: 87.52 kB / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.4742, allocations: 93.03 kB / 1.372 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.4742, allocations: 4 kB / 1.372 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.4742, allocations: 0 / 1.372 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-06/0.4742, allocations: 0 / 1.372 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.4742, allocations: 4 kB / 1.372 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001044/0.4744, allocations: 121.6 kB / 1.372 GB, free: 8.539 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.714e-06/0.4744, allocations: 4 kB / 1.372 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001764/0.4745, allocations: 15.84 kB / 1.372 GB, free: 8.52 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.0004289/0.475, allocations: 0.6991 MB / 1.373 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.95e-05/0.475, allocations: 19.98 kB / 1.373 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4751, allocations: 0 / 1.373 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.378e-05/0.4751, allocations: 12.09 kB / 1.373 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.659e-05/0.4752, allocations: 9.5 kB / 1.373 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007947/0.476, allocations: 0.6935 MB / 1.374 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.4763, allocations: 0.6965 MB / 1.374 GB, free: 6.258 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.55e-05/0.4763, allocations: 4.438 kB / 1.374 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.4763, allocations: 31.42 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of SimCode: time 4.61e-07/0.4764, allocations: 0 / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.4892, allocations: 1.467 MB / 1.376 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.4894, allocations: 185.2 kB / 1.376 GB, free: 4.645 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.026, allocations: 4 kB / 1.376 GB, free: 4.641 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat does not exist to compare? outputFormat=mat