Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.467/2.467, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001045/0.001045, allocations: 175.2 kB / 492.3 MB, free: 0.6055 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.592/1.592, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.00104/0.00104, allocations: 99.72 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.066e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2959, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.352, allocations: 148.7 MB / 1.358 GB, free: 18.84 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/1.352, allocations: 65.33 kB / 1.358 GB, free: 18.84 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003917/1.356, allocations: 1.086 MB / 1.359 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.206e-06/1.356, allocations: 4.641 kB / 1.359 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.967e-06/1.356, allocations: 0.8125 kB / 1.359 GB, free: 34.48 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.0003259/1.357, allocations: 362.3 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.357, allocations: 7.75 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/1.357, allocations: 39.95 kB / 1.359 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/1.357, allocations: 7.781 kB / 1.359 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/1.357, allocations: 182.8 kB / 1.359 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/1.357, allocations: 7.781 kB / 1.359 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/1.357, allocations: 8.422 kB / 1.359 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/1.357, allocations: 85.45 kB / 1.36 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.357, allocations: 4.797 kB / 1.36 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/1.357, allocations: 11.06 kB / 1.36 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/1.357, allocations: 0 / 1.36 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/1.357, allocations: 34.45 kB / 1.36 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/1.358, allocations: 453 kB / 1.36 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.931e-05/1.358, allocations: 37.02 kB / 1.36 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/1.358, allocations: 21.28 kB / 1.36 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/1.358, allocations: 0 / 1.36 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/1.358, allocations: 39.39 kB / 1.36 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/1.358, allocations: 3.781 kB / 1.36 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001888/1.358, allocations: 42.98 kB / 1.36 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/1.358, allocations: 85.02 kB / 1.36 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/1.359, allocations: 146.4 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/1.359, allocations: 25.7 kB / 1.36 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/1.359, allocations: 109.8 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/1.359, allocations: 4.703 kB / 1.361 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/1.359, allocations: 3.938 kB / 1.361 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.804e-05/1.359, allocations: 321 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/1.359, allocations: 7.344 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/1.359, allocations: 17.33 kB / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/1.359, allocations: 15.98 kB / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.359, allocations: 4 kB / 1.361 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000114/1.359, allocations: 59.66 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.359, allocations: 3.656 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/1.359, allocations: 0 / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/1.359, allocations: 5.172 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.737e-05/1.359, allocations: 5.312 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/1.359, allocations: 0 / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/1.359, allocations: 15.53 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/1.359, allocations: 0 / 1.361 GB, free: 32.59 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.169e-05/1.359, allocations: 115.9 kB / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/1.359, allocations: 9.531 kB / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/1.359, allocations: 9.125 kB / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.359, allocations: 4.672 kB / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.36, allocations: 0 / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/1.36, allocations: 0 / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/1.36, allocations: 472.3 kB / 1.362 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.36, allocations: 0 / 1.362 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/1.36, allocations: 4.578 kB / 1.362 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.36, allocations: 0 / 1.362 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/1.36, allocations: 12.31 kB / 1.362 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.36, allocations: 0 / 1.362 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.36, allocations: 0.5625 kB / 1.362 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.481e-05/1.36, allocations: 92.41 kB / 1.362 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/1.36, allocations: 91.78 kB / 1.362 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/1.36, allocations: 1.672 kB / 1.362 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.371e-05/1.36, allocations: 3.438 kB / 1.362 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/1.36, allocations: 4.609 kB / 1.362 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/1.36, allocations: 0 / 1.362 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001037/1.36, allocations: 122.3 kB / 1.362 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.21e-07/1.36, allocations: 0 / 1.362 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003213/1.361, allocations: 15.73 kB / 1.362 GB, free: 31.7 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.0003533/1.361, allocations: 0.6905 MB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.904e-05/1.361, allocations: 23.47 kB / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.361, allocations: 0 / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-05/1.361, allocations: 7.984 kB / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/1.361, allocations: 15.33 kB / 1.363 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/1.362, allocations: 136.1 kB / 1.363 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/1.362, allocations: 0.6999 MB / 1.363 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.123e-05/1.362, allocations: 7.141 kB / 1.363 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/1.362, allocations: 23.89 kB / 1.363 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/1.362, allocations: 3.969 kB / 1.363 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/1.378, allocations: 1.445 MB / 1.365 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/1.379, allocations: 162.3 kB / 1.365 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.447/2.826, allocations: 0 / 1.365 GB, free: 29.75 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat does not exist to compare? outputFormat=mat