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.355/2.355, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001349/0.001349, allocations: 180 kB / 0.4901 GB, free: 2.242 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.543/1.543, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0009915/0.0009917, allocations: 98.81 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 7.875 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2696, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/0.4535, allocations: 149.6 MB / 1.375 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.4538, allocations: 83.88 kB / 1.375 GB, free: 3.742 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003117/0.457, allocations: 1.142 MB / 1.377 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.694e-06/0.457, allocations: 4 kB / 1.377 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.457, allocations: 4 kB / 1.377 GB, free: 2.59 MB / 0.8698 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.0004409/0.4574, allocations: 406.8 kB / 1.377 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4575, allocations: 8.562 kB / 1.377 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.895e-05/0.4576, allocations: 110.7 kB / 1.377 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.4576, allocations: 87.09 kB / 1.377 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.4578, allocations: 270.1 kB / 1.377 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.944e-05/0.4579, allocations: 158.6 kB / 1.378 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.372e-05/0.458, allocations: 162.6 kB / 1.378 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.239e-05/0.4581, allocations: 105 kB / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.4581, allocations: 83.22 kB / 1.378 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/0.4582, allocations: 150.6 kB / 1.378 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.261e-05/0.4583, allocations: 150.6 kB / 1.378 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.247e-05/0.4583, allocations: 154.6 kB / 1.378 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.4587, allocations: 0.5056 MB / 1.379 GB, free: 116 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.4588, allocations: 166.8 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.4589, allocations: 79.22 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.4589, allocations: 109.8 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.4589, allocations: 4 kB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 9.142e-05/0.459, allocations: 37.52 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.4591, allocations: 126.7 kB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.4594, allocations: 206.1 kB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.4594, allocations: 33.7 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.4595, allocations: 119.8 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.4595, allocations: 4 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.4595, allocations: 4 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4596, allocations: 330.8 kB / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.4597, allocations: 44.33 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.4599, allocations: 177.5 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.46, allocations: 71.89 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.46, allocations: 0 / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003977/0.4604, allocations: 237.5 kB / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4605, allocations: 8 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4605, allocations: 4 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.4605, allocations: 8 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.4607, allocations: 55.78 kB / 1.381 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.4607, allocations: 11.94 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.053e-05/0.4608, allocations: 15.84 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.4608, allocations: 12 kB / 1.381 GB, free: 14.15 MB / 0.8855 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 () * Number of clocked 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.0001593/0.461, allocations: 225 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/0.4611, allocations: 116.8 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/0.4611, allocations: 125.5 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-05/0.4612, allocations: 176.3 kB / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.438e-05/0.4613, allocations: 176.3 kB / 1.381 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.379e-05/0.4614, allocations: 180.2 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.4617, allocations: 445.1 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.635e-05/0.4617, allocations: 104.9 kB / 1.382 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.4617, allocations: 101 kB / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.247e-05/0.4618, allocations: 180.3 kB / 1.382 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.791e-05/0.4619, allocations: 184.2 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.427e-05/0.462, allocations: 184.2 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.491e-05/0.4621, allocations: 180.2 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.4622, allocations: 315.6 kB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.4623, allocations: 193.9 kB / 1.383 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.935e-05/0.4624, allocations: 176.3 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4626, allocations: 116.9 kB / 1.384 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.4626, allocations: 176.3 kB / 1.384 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/0.4627, allocations: 104.9 kB / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001301/0.4628, allocations: 160.6 kB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4628, allocations: 0 / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003135/0.4631, allocations: 28 kB / 1.384 GB, free: 10.36 MB / 0.8855 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 () * Number of clocked 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.0005311/0.4637, allocations: 0.8253 MB / 1.385 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.4639, allocations: 92.94 kB / 1.385 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4639, allocations: 4.125 kB / 1.385 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.4639, allocations: 16 / 1.385 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.4643, allocations: 0.5224 MB / 1.386 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.4663, allocations: 3.648 MB / 1.389 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.4666, allocations: 0.7121 MB / 1.39 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.952e-05/0.4667, allocations: 15.97 kB / 1.39 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.4667, allocations: 35.42 kB / 1.39 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of SimCode: time 3.31e-07/0.4667, allocations: 0 / 1.39 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.4798, allocations: 2.309 MB / 1.392 GB, free: 2.168 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.48, allocations: 198 kB / 1.392 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.171, allocations: 2.188 kB / 1.392 GB, free: 1.926 MB / 0.8855 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