Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",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.638/2.638, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.00128/0.00128, allocations: 176.9 kB / 492.3 MB, free: 0.6133 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.481/1.481, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0009596/0.0009596, allocations: 100.5 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.196e-05/4.215e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2822, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.086/1.368, allocations: 148.8 MB / 1.358 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/1.368, allocations: 71.73 kB / 1.358 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003444/1.372, allocations: 1.161 MB / 1.359 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.473e-06/1.372, allocations: 3.938 kB / 1.359 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.372, allocations: 0 / 1.359 GB, free: 34.66 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002749/1.372, allocations: 386.6 kB / 1.359 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.372, allocations: 8.547 kB / 1.359 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/1.372, allocations: 105.8 kB / 1.359 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/1.372, allocations: 94.78 kB / 1.36 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/1.372, allocations: 270.9 kB / 1.36 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/1.372, allocations: 154.5 kB / 1.36 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/1.373, allocations: 160.9 kB / 1.36 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.144e-05/1.373, allocations: 101.7 kB / 1.36 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/1.373, allocations: 75.28 kB / 1.36 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/1.373, allocations: 158.5 kB / 1.36 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-05/1.373, allocations: 151.4 kB / 1.361 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.124e-05/1.373, allocations: 157 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/1.373, allocations: 0.4944 MB / 1.361 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.99e-05/1.373, allocations: 173.7 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/1.373, allocations: 88.09 kB / 1.361 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/1.373, allocations: 79.22 kB / 1.362 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/1.373, allocations: 106.5 kB / 1.362 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/1.373, allocations: 0 / 1.362 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.366e-05/1.373, allocations: 41.98 kB / 1.362 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/1.373, allocations: 130.7 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/1.374, allocations: 201.8 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/1.374, allocations: 33.3 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/1.374, allocations: 112.2 kB / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/1.374, allocations: 0 / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-06/1.374, allocations: 3.125 kB / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.374, allocations: 325.9 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.502e-05/1.374, allocations: 45.16 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/1.374, allocations: 174 kB / 1.363 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/1.374, allocations: 80.38 kB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.374, allocations: 0 / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003494/1.375, allocations: 236.1 kB / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.375, allocations: 7.844 kB / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.375, allocations: 7.906 kB / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.375, allocations: 8.312 kB / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/1.375, allocations: 48.44 kB / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/1.375, allocations: 9.266 kB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.001e-05/1.375, allocations: 25.94 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/1.375, allocations: 12.77 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.18e-05/1.375, allocations: 195.4 kB / 1.363 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/1.375, allocations: 113.2 kB / 1.363 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/1.375, allocations: 119.6 kB / 1.363 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.302e-05/1.375, allocations: 180.7 kB / 1.364 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.864e-05/1.375, allocations: 181.5 kB / 1.364 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-05/1.375, allocations: 180.9 kB / 1.364 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/1.375, allocations: 432.7 kB / 1.364 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.288e-05/1.376, allocations: 121.3 kB / 1.365 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/1.376, allocations: 101.8 kB / 1.365 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.195e-05/1.376, allocations: 180.9 kB / 1.365 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/1.376, allocations: 181 kB / 1.365 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.637e-05/1.376, allocations: 181.1 kB / 1.365 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.754e-05/1.376, allocations: 181 kB / 1.365 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/1.376, allocations: 316.5 kB / 1.366 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/1.376, allocations: 195.1 kB / 1.366 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.543e-05/1.376, allocations: 184.8 kB / 1.366 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/1.376, allocations: 108.7 kB / 1.366 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/1.376, allocations: 185 kB / 1.366 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/1.376, allocations: 106.7 kB / 1.366 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001376/1.376, allocations: 155.4 kB / 1.367 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.376, allocations: 0 / 1.367 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000271/1.377, allocations: 31.47 kB / 1.367 GB, free: 27.37 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003725/1.377, allocations: 0.8234 MB / 1.367 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001602/1.377, allocations: 90.02 kB / 1.367 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.377, allocations: 0 / 1.367 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/1.377, allocations: 3.938 kB / 1.367 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/1.378, allocations: 0.5285 MB / 1.368 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/1.378, allocations: 274.4 kB / 1.368 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/1.378, allocations: 0.7208 MB / 1.369 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.308e-05/1.378, allocations: 14.14 kB / 1.369 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/1.379, allocations: 32.95 kB / 1.369 GB, free: 25.09 MB / 0.8386 GB Notification: Performance of SimCode: time 8.11e-07/1.379, allocations: 0 / 1.369 GB, free: 25.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/1.392, allocations: 2.288 MB / 1.371 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/1.392, allocations: 173 kB / 1.371 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/3.218, allocations: 1.828 kB / 1.371 GB, free: 24.63 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat does not exist to compare? outputFormat=mat