Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.326/2.326, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001525/0.001525, allocations: 187.8 kB / 0.4901 GB, free: 2.238 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.547/1.547, allocations: 223.1 MB / 0.7992 GB, free: 15.71 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.0008955/0.0008952, allocations: 107.2 kB / 0.9396 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.000357, allocations: 13.47 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3127, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/0.5095, allocations: 149.6 MB / 1.375 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.5098, allocations: 63.95 kB / 1.375 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002839/0.5127, allocations: 1.097 MB / 1.377 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.346e-06/0.5127, allocations: 0 / 1.377 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.5128, allocations: 4.219 kB / 1.377 GB, free: 14.43 MB / 0.8855 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.0005539/0.5133, allocations: 375 kB / 1.377 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.5134, allocations: 8.562 kB / 1.377 GB, free: 14 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.544e-05/0.5135, allocations: 42.56 kB / 1.377 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.5135, allocations: 11.86 kB / 1.377 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.5138, allocations: 178.8 kB / 1.377 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.5138, allocations: 8 kB / 1.377 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.5138, allocations: 4 kB / 1.377 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.514, allocations: 88.33 kB / 1.377 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.514, allocations: 3.938 kB / 1.377 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.514, allocations: 4 kB / 1.377 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.5141, allocations: 0 / 1.377 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.66e-05/0.5142, allocations: 39.98 kB / 1.377 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008102/0.515, allocations: 460.5 kB / 1.378 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.983e-05/0.5151, allocations: 33.28 kB / 1.378 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.5151, allocations: 4 kB / 1.378 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.5151, allocations: 34.59 kB / 1.378 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.5152, allocations: 0 / 1.378 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0002502/0.5154, allocations: 57.62 kB / 1.378 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.5155, allocations: 81.11 kB / 1.378 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.5157, allocations: 145.4 kB / 1.378 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.5157, allocations: 25.7 kB / 1.378 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.5158, allocations: 104 kB / 1.378 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.615e-06/0.5158, allocations: 3.906 kB / 1.378 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.5158, allocations: 0 / 1.378 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.516, allocations: 326.8 kB / 1.378 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.516, allocations: 12.16 kB / 1.378 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.516, allocations: 21.7 kB / 1.378 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.111e-05/0.5161, allocations: 8 kB / 1.378 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5161, allocations: 0 / 1.378 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001088/0.5162, allocations: 61.53 kB / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.5162, allocations: 4 kB / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5162, allocations: 0 / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.5163, allocations: 8 kB / 1.379 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.5164, allocations: 11.94 kB / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.5164, allocations: 4 kB / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.5164, allocations: 19.83 kB / 1.379 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.5164, allocations: 0 / 1.379 GB, free: 12.03 MB / 0.8855 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 0.0001098/0.5166, allocations: 117.8 kB / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.5166, allocations: 7.906 kB / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.5167, allocations: 7.875 kB / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5167, allocations: 0 / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5167, allocations: 7.938 kB / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5167, allocations: 0 / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/0.5172, allocations: 470.8 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.5172, allocations: 0 / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/0.5173, allocations: 7.938 kB / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5173, allocations: 0 / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.5173, allocations: 0 / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.5173, allocations: 4 kB / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5173, allocations: 4.062 kB / 1.379 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.5174, allocations: 91.56 kB / 1.379 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.806e-05/0.5175, allocations: 85.02 kB / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.5176, allocations: 0 / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.087e-05/0.5176, allocations: 0 / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.5176, allocations: 8.016 kB / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.5176, allocations: 8 kB / 1.379 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001734/0.5178, allocations: 130.4 kB / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5178, allocations: 0 / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002033/0.518, allocations: 8 kB / 1.38 GB, free: 10.98 MB / 0.8855 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.0005491/0.5186, allocations: 0.6884 MB / 1.38 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.795e-05/0.5187, allocations: 19.94 kB / 1.38 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5187, allocations: 0 / 1.38 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/0.5187, allocations: 8 kB / 1.38 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.5189, allocations: 12.72 kB / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.52, allocations: 0.7061 MB / 1.381 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.5204, allocations: 0.6965 MB / 1.382 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.227e-05/0.5204, allocations: 8.422 kB / 1.382 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.5205, allocations: 19.44 kB / 1.382 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of SimCode: time 3.7e-07/0.5205, allocations: 0 / 1.382 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.5345, allocations: 1.48 MB / 1.383 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.5347, allocations: 195.4 kB / 1.383 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.084, allocations: 0 / 1.383 GB, free: 7.109 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat does not exist to compare? outputFormat=mat