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.381/2.381, allocations: 390.3 MB / 405.3 MB, free: 13.31 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.001798/0.001798, allocations: 165.1 kB / 498.1 MB, free: 5.531 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.508/1.508, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.0009307/0.0009308, allocations: 92.33 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004072, allocations: 10.19 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2554, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1739/0.4293, allocations: 148.9 MB / 1.368 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.4296, allocations: 71.95 kB / 1.368 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00283/0.4325, allocations: 1.146 MB / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4325, allocations: 0 / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.4325, allocations: 4 kB / 1.369 GB, free: 11.88 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.0004123/0.4329, allocations: 414.9 kB / 1.37 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.433, allocations: 8.031 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.487e-05/0.433, allocations: 108.6 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.088e-05/0.4331, allocations: 91.09 kB / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.4333, allocations: 274 kB / 1.37 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/0.4334, allocations: 154.6 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/0.4334, allocations: 166.5 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.952e-05/0.4335, allocations: 105 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.4335, allocations: 79.27 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/0.4336, allocations: 150.6 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-05/0.4337, allocations: 150.6 kB / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.048e-05/0.4337, allocations: 154.5 kB / 1.371 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.4341, allocations: 0.5017 MB / 1.372 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.923e-05/0.4342, allocations: 173.1 kB / 1.372 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.4342, allocations: 75.28 kB / 1.372 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.4343, allocations: 105.8 kB / 1.372 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.4343, allocations: 4 kB / 1.372 GB, free: 9.023 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 9.112e-05/0.4344, allocations: 49.44 kB / 1.372 GB, free: 8.969 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.4345, allocations: 126.7 kB / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.4347, allocations: 202.2 kB / 1.372 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.4347, allocations: 33.7 kB / 1.372 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.4348, allocations: 115.8 kB / 1.373 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-06/0.4348, allocations: 0 / 1.373 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/0.4348, allocations: 7.938 kB / 1.373 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4349, allocations: 330.8 kB / 1.373 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.769e-05/0.435, allocations: 44.33 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.4352, allocations: 180.7 kB / 1.373 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.4353, allocations: 67.89 kB / 1.373 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4353, allocations: 0 / 1.373 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000389/0.4357, allocations: 237.6 kB / 1.373 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4358, allocations: 8 kB / 1.373 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4358, allocations: 8.031 kB / 1.373 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4358, allocations: 8 kB / 1.373 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.436, allocations: 43.92 kB / 1.373 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.436, allocations: 11.98 kB / 1.373 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.4361, allocations: 23.69 kB / 1.374 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.4361, allocations: 12 kB / 1.374 GB, free: 7.434 MB / 0.8698 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.0001213/0.4362, allocations: 213 kB / 1.374 GB, free: 7.215 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/0.4363, allocations: 116.8 kB / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.4364, allocations: 114.2 kB / 1.374 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.415e-05/0.4365, allocations: 188.2 kB / 1.374 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.29e-05/0.4365, allocations: 180.2 kB / 1.374 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.499e-05/0.4366, allocations: 180.3 kB / 1.374 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.4369, allocations: 441.1 kB / 1.375 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/0.4369, allocations: 105 kB / 1.375 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.4369, allocations: 108.9 kB / 1.375 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-05/0.437, allocations: 180.3 kB / 1.375 GB, free: 5.523 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.298e-05/0.4371, allocations: 176.3 kB / 1.375 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-05/0.4371, allocations: 184.2 kB / 1.376 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.531e-05/0.4372, allocations: 180.3 kB / 1.376 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.4374, allocations: 319.6 kB / 1.376 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/0.4375, allocations: 197.9 kB / 1.376 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.009e-05/0.4375, allocations: 180.2 kB / 1.376 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.4376, allocations: 105 kB / 1.377 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.4377, allocations: 188.2 kB / 1.377 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.4378, allocations: 104.9 kB / 1.377 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001154/0.4379, allocations: 151.2 kB / 1.377 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4379, allocations: 0 / 1.377 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002935/0.4382, allocations: 28 kB / 1.377 GB, free: 3.648 MB / 0.8698 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.0004438/0.4386, allocations: 0.8403 MB / 1.378 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.4388, allocations: 92.94 kB / 1.378 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4388, allocations: 0 / 1.378 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.4388, allocations: 0 / 1.378 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.4391, allocations: 0.5303 MB / 1.378 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.441, allocations: 3.645 MB / 1.382 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.4413, allocations: 0.7199 MB / 1.383 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.4414, allocations: 11.98 kB / 1.383 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.4414, allocations: 35.42 kB / 1.383 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.4414, allocations: 0 / 1.383 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01222/0.4537, allocations: 2.29 MB / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.4539, allocations: 187.9 kB / 1.385 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.029, allocations: 0 / 1.385 GB, free: 11.19 MB / 0.8855 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