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.607/2.607, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001099/0.001099, allocations: 180.8 kB / 487.4 MB, free: 5.055 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.501/1.501, allocations: 221.5 MB / 0.7824 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009478, allocations: 104.8 kB / 0.9219 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/2.017e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2445, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.996/1.241, allocations: 148.1 MB / 1.351 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/1.241, allocations: 83.22 kB / 1.351 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003333/1.244, allocations: 1.138 MB / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/1.244, allocations: 0 / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.488e-06/1.244, allocations: 6.625 kB / 1.352 GB, free: 33.8 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.0002817/1.245, allocations: 384 kB / 1.352 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.245, allocations: 9 kB / 1.352 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/1.245, allocations: 89.97 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/1.245, allocations: 265 kB / 1.353 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/1.245, allocations: 153.9 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-05/1.245, allocations: 159.6 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.929e-05/1.245, allocations: 156.4 kB / 1.353 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.01e-05/1.245, allocations: 102.3 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/1.245, allocations: 75.28 kB / 1.353 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/1.245, allocations: 151.2 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-05/1.245, allocations: 155.7 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/1.246, allocations: 489.5 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.685e-05/1.246, allocations: 170.4 kB / 1.354 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/1.246, allocations: 80.66 kB / 1.354 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/1.246, allocations: 75.28 kB / 1.354 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/1.246, allocations: 111.7 kB / 1.354 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/1.246, allocations: 0 / 1.354 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.435e-05/1.246, allocations: 41.91 kB / 1.354 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/1.246, allocations: 52.06 kB / 1.354 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/1.246, allocations: 198.2 kB / 1.355 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/1.246, allocations: 25.7 kB / 1.355 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/1.246, allocations: 112.4 kB / 1.355 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/1.246, allocations: 3.938 kB / 1.355 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/1.246, allocations: 1.312 kB / 1.355 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.246, allocations: 330.7 kB / 1.355 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/1.246, allocations: 41.52 kB / 1.355 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/1.247, allocations: 171.6 kB / 1.355 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/1.247, allocations: 107.3 kB / 1.355 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.247, allocations: 4 kB / 1.355 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006732/1.248, allocations: 260.9 kB / 1.356 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.248, allocations: 12.27 kB / 1.356 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.248, allocations: 3.875 kB / 1.356 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.248, allocations: 7.688 kB / 1.356 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/1.248, allocations: 40.56 kB / 1.356 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/1.248, allocations: 8.516 kB / 1.356 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.905e-05/1.248, allocations: 24.11 kB / 1.356 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/1.248, allocations: 16.78 kB / 1.356 GB, free: 30.3 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.67e-05/1.248, allocations: 181.2 kB / 1.356 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.209e-05/1.248, allocations: 156 kB / 1.356 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/1.248, allocations: 109.3 kB / 1.356 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/1.248, allocations: 119.4 kB / 1.356 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.262e-05/1.248, allocations: 178.9 kB / 1.357 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.245e-05/1.248, allocations: 182 kB / 1.357 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.779e-05/1.249, allocations: 184.8 kB / 1.357 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/1.249, allocations: 418.4 kB / 1.357 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-05/1.249, allocations: 101.7 kB / 1.357 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/1.249, allocations: 113.6 kB / 1.357 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.173e-05/1.249, allocations: 180.1 kB / 1.358 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/1.249, allocations: 180.8 kB / 1.358 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-05/1.249, allocations: 180.9 kB / 1.358 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.527e-05/1.249, allocations: 181.1 kB / 1.358 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/1.249, allocations: 316.4 kB / 1.358 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/1.249, allocations: 195.3 kB / 1.359 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/1.249, allocations: 186.8 kB / 1.359 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/1.249, allocations: 109.7 kB / 1.359 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/1.249, allocations: 178 kB / 1.359 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/1.25, allocations: 105.2 kB / 1.359 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.947e-05/1.25, allocations: 144.4 kB / 1.359 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.25, allocations: 3.938 kB / 1.359 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002956/1.25, allocations: 26.75 kB / 1.359 GB, free: 26.63 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.0003688/1.25, allocations: 0.823 MB / 1.36 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001408/1.25, allocations: 83.12 kB / 1.36 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.25, allocations: 0 / 1.36 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/1.25, allocations: 3.844 kB / 1.36 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/1.251, allocations: 0.5311 MB / 1.361 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/1.251, allocations: 268.8 kB / 1.361 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/1.251, allocations: 0.7203 MB / 1.362 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.846e-05/1.252, allocations: 14.78 kB / 1.362 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/1.252, allocations: 36.8 kB / 1.362 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.252, allocations: 0 / 1.362 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/1.271, allocations: 1.917 MB / 1.364 GB, free: 24.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/1.271, allocations: 148.4 kB / 1.364 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/3.003, allocations: 4 kB / 1.364 GB, free: 24.03 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