Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.585/2.585, allocations: 390.5 MB / 398 MB, free: 10.93 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.001148/0.001148, allocations: 184.3 kB / 491.2 MB, free: 1.566 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.485/1.485, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009229/0.0009227, allocations: 93.14 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.259e-05/2.261e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3264, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.384, allocations: 148.9 MB / 1.358 GB, free: 17.62 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/1.384, allocations: 75.52 kB / 1.358 GB, free: 17.62 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0037/1.388, allocations: 1.142 MB / 1.359 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/1.388, allocations: 0 / 1.359 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.388e-06/1.388, allocations: 4 kB / 1.359 GB, free: 33.23 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.0003056/1.388, allocations: 379.6 kB / 1.359 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.388, allocations: 11.72 kB / 1.359 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.907e-05/1.388, allocations: 97.23 kB / 1.359 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/1.388, allocations: 262.9 kB / 1.36 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/1.388, allocations: 154.5 kB / 1.36 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/1.388, allocations: 162.2 kB / 1.36 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.471e-05/1.389, allocations: 154.3 kB / 1.36 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.819e-05/1.389, allocations: 101 kB / 1.36 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/1.389, allocations: 75.28 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/1.389, allocations: 150.6 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/1.389, allocations: 150.6 kB / 1.361 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/1.389, allocations: 491.8 kB / 1.361 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.53e-05/1.389, allocations: 169.1 kB / 1.361 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/1.389, allocations: 83.83 kB / 1.361 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/1.389, allocations: 75.28 kB / 1.361 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/1.389, allocations: 111.1 kB / 1.362 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.714e-06/1.389, allocations: 3.984 kB / 1.362 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.016e-05/1.389, allocations: 41.3 kB / 1.362 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/1.389, allocations: 52.67 kB / 1.362 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/1.39, allocations: 196.6 kB / 1.362 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/1.39, allocations: 26.58 kB / 1.362 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/1.39, allocations: 115.8 kB / 1.362 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/1.39, allocations: 0 / 1.362 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/1.39, allocations: 4 kB / 1.362 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.39, allocations: 330.5 kB / 1.362 GB, free: 30 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/1.39, allocations: 40.27 kB / 1.362 GB, free: 30 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/1.39, allocations: 166 kB / 1.362 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/1.39, allocations: 108.4 kB / 1.363 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.39, allocations: 5.969 kB / 1.363 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006405/1.391, allocations: 259.7 kB / 1.363 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.391, allocations: 11.72 kB / 1.363 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.391, allocations: 4.719 kB / 1.363 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/1.391, allocations: 7.75 kB / 1.363 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/1.391, allocations: 47.56 kB / 1.363 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/1.391, allocations: 5.203 kB / 1.363 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.725e-05/1.391, allocations: 27.41 kB / 1.363 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/1.391, allocations: 13.16 kB / 1.363 GB, free: 29.73 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 0.0001049/1.392, allocations: 187.7 kB / 1.363 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.984e-05/1.392, allocations: 143.8 kB / 1.363 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/1.392, allocations: 122.1 kB / 1.363 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/1.392, allocations: 116.6 kB / 1.363 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.715e-05/1.392, allocations: 176.6 kB / 1.364 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.343e-05/1.392, allocations: 183.8 kB / 1.364 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.394e-05/1.392, allocations: 184.2 kB / 1.364 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/1.392, allocations: 421.9 kB / 1.364 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.472e-05/1.392, allocations: 104.9 kB / 1.364 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/1.392, allocations: 110.1 kB / 1.365 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.606e-05/1.392, allocations: 177.7 kB / 1.365 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/1.392, allocations: 180.2 kB / 1.365 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-05/1.392, allocations: 184.9 kB / 1.365 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-05/1.393, allocations: 180.1 kB / 1.365 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/1.393, allocations: 312.7 kB / 1.366 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/1.393, allocations: 194.8 kB / 1.366 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-05/1.393, allocations: 185.5 kB / 1.366 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/1.393, allocations: 105 kB / 1.366 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/1.393, allocations: 178.4 kB / 1.366 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/1.393, allocations: 106.3 kB / 1.366 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001044/1.393, allocations: 152 kB / 1.366 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.393, allocations: 0 / 1.366 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002837/1.393, allocations: 27.03 kB / 1.366 GB, free: 26.06 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.0004533/1.394, allocations: 0.8194 MB / 1.367 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001385/1.394, allocations: 86.55 kB / 1.367 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/1.394, allocations: 0 / 1.367 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/1.394, allocations: 256 / 1.367 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/1.394, allocations: 0.5221 MB / 1.368 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/1.395, allocations: 279.9 kB / 1.368 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/1.395, allocations: 0.7157 MB / 1.369 GB, free: 23.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.616e-05/1.395, allocations: 14.55 kB / 1.369 GB, free: 23.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/1.395, allocations: 34.8 kB / 1.369 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/1.395, allocations: 0 / 1.369 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/1.417, allocations: 1.914 MB / 1.371 GB, free: 23.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/1.418, allocations: 156 kB / 1.371 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/3.096, allocations: 5.094 kB / 1.371 GB, free: 23.46 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat does not exist to compare? outputFormat=mat