Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.Table.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.SetPoints.Examples.Table,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_Table",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.292/2.292, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001309/0.001309, allocations: 180.9 kB / 498.1 MB, free: 5.785 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.394/1.394, allocations: 223.1 MB / 0.7948 GB, free: 17.83 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.0008607/0.0008607, allocations: 104.2 kB / 0.9346 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003779, allocations: 10.66 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2734, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/0.4478, allocations: 151.8 MB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.4481, allocations: 79.95 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01219/0.4603, allocations: 4.849 MB / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4603, allocations: 0 / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.206e-05/0.4604, allocations: 8 kB / 1.376 GB, free: 5.285 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000774/0.4611, allocations: 0.572 MB / 1.376 GB, free: 4.664 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4612, allocations: 8.031 kB / 1.377 GB, free: 4.656 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.4612, allocations: 34.56 kB / 1.377 GB, free: 4.613 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.4613, allocations: 31.62 kB / 1.377 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006253/0.4619, allocations: 385.2 kB / 1.377 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.462, allocations: 0 / 1.377 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.462, allocations: 4 kB / 1.377 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.4622, allocations: 85.64 kB / 1.377 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4622, allocations: 0 / 1.377 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4622, allocations: 0 / 1.377 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.4622, allocations: 3.938 kB / 1.377 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.4625, allocations: 67.89 kB / 1.377 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.4631, allocations: 436.5 kB / 1.378 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.4633, allocations: 54.59 kB / 1.378 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.4633, allocations: 8.156 kB / 1.378 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.4633, allocations: 38.55 kB / 1.378 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.4633, allocations: 0 / 1.378 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0004052/0.4637, allocations: 133.2 kB / 1.378 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.4638, allocations: 51.41 kB / 1.378 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005798/0.4644, allocations: 468.8 kB / 1.378 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.4644, allocations: 25.7 kB / 1.378 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.4645, allocations: 175.9 kB / 1.378 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.4646, allocations: 11.84 kB / 1.378 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.4646, allocations: 0 / 1.378 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4647, allocations: 342.8 kB / 1.379 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-05/0.4648, allocations: 27.97 kB / 1.379 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.465e-05/0.4649, allocations: 19.98 kB / 1.379 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.7e-05/0.465, allocations: 27.98 kB / 1.379 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.465, allocations: 0 / 1.379 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002417/0.4653, allocations: 109.3 kB / 1.379 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4653, allocations: 4.938 kB / 1.379 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.4653, allocations: 0 / 1.379 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4653, allocations: 4 kB / 1.379 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.269e-05/0.4654, allocations: 19.94 kB / 1.379 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4654, allocations: 0 / 1.379 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.337e-05/0.4655, allocations: 11.98 kB / 1.379 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4656, allocations: 0 / 1.379 GB, free: 1.957 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.0001482/0.4657, allocations: 169.8 kB / 1.379 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.4658, allocations: 31.62 kB / 1.379 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.4661, allocations: 120.1 kB / 1.379 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4661, allocations: 4 kB / 1.379 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4661, allocations: 3.953 kB / 1.379 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4661, allocations: 0 / 1.379 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.4664, allocations: 269.5 kB / 1.38 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4664, allocations: 4 kB / 1.38 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.868e-05/0.4665, allocations: 15.98 kB / 1.38 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.4665, allocations: 4.375 kB / 1.38 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.4665, allocations: 3.938 kB / 1.38 GB, free: 1.273 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4665, allocations: 0 / 1.38 GB, free: 1.273 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4665, allocations: 4 kB / 1.38 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.4668, allocations: 219 kB / 1.38 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.467, allocations: 132.6 kB / 1.38 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.467, allocations: 0 / 1.38 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.4671, allocations: 11.98 kB / 1.38 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.4672, allocations: 0 / 1.38 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.4672, allocations: 4 kB / 1.38 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000419/0.4676, allocations: 383.1 kB / 1.38 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4676, allocations: 0 / 1.38 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003153/0.4679, allocations: 31.89 kB / 1.38 GB, free: 488 kB / 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 (3): * Single equations (assignments): 3 * 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.001282/0.4692, allocations: 0.9864 MB / 1.381 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.4695, allocations: 55.95 kB / 1.381 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4695, allocations: 0 / 1.381 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.466e-05/0.4696, allocations: 27.98 kB / 1.381 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.4699, allocations: 41.8 kB / 1.381 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.4724, allocations: 1.723 MB / 1.383 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.4728, allocations: 0.7752 MB / 1.384 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.718e-05/0.4729, allocations: 41.92 kB / 1.384 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.473, allocations: 87.41 kB / 1.384 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of SimCode: time 3.81e-07/0.4731, allocations: 4 kB / 1.384 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.4898, allocations: 5.172 MB / 1.389 GB, free: 7.711 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.49, allocations: 212.6 kB / 1.389 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.41, allocations: 0 / 1.389 GB, free: 7.465 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.mat does not exist to compare? outputFormat=mat