Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.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.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_Table",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.313/2.313, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001051/0.001051, allocations: 188 kB / 0.4901 GB, free: 2.254 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.52/1.52, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.0008617/0.0008616, allocations: 104.1 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 15.31 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2756, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.4689, allocations: 152.5 MB / 1.378 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.4692, allocations: 79.95 kB / 1.378 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01311/0.4824, allocations: 4.86 MB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4824, allocations: 0 / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.145e-05/0.4824, allocations: 4 kB / 1.383 GB, free: 11.94 MB / 0.8855 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.0007338/0.4832, allocations: 0.5757 MB / 1.384 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4832, allocations: 8.562 kB / 1.384 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.4833, allocations: 38.56 kB / 1.384 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.4833, allocations: 31.62 kB / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/0.4839, allocations: 373.3 kB / 1.384 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4839, allocations: 4 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.484, allocations: 4 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.4842, allocations: 73.61 kB / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.4842, allocations: 4 kB / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.4842, allocations: 7.984 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4842, allocations: 0 / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.4844, allocations: 63.95 kB / 1.384 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.485, allocations: 436.5 kB / 1.385 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.4852, allocations: 58.48 kB / 1.385 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.4852, allocations: 0 / 1.385 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.4853, allocations: 42.66 kB / 1.385 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4853, allocations: 0 / 1.385 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0004073/0.4857, allocations: 137.5 kB / 1.385 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.4857, allocations: 55.41 kB / 1.385 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/0.4863, allocations: 472.7 kB / 1.385 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.4863, allocations: 25.7 kB / 1.385 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.4864, allocations: 168 kB / 1.386 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.4864, allocations: 15.83 kB / 1.386 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.4864, allocations: 0 / 1.386 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4866, allocations: 342.8 kB / 1.386 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.284e-05/0.4867, allocations: 23.98 kB / 1.386 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.411e-05/0.4867, allocations: 31.89 kB / 1.386 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.85e-05/0.4868, allocations: 23.98 kB / 1.386 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4869, allocations: 0 / 1.386 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000242/0.4871, allocations: 113.3 kB / 1.386 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4871, allocations: 4 kB / 1.386 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4871, allocations: 0 / 1.386 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.4872, allocations: 0 / 1.386 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.4873, allocations: 19.94 kB / 1.386 GB, free: 8.617 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4873, allocations: 4 kB / 1.386 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.285e-05/0.4874, allocations: 8 kB / 1.386 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.4874, allocations: 3.984 kB / 1.386 GB, free: 8.602 MB / 0.8855 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.0001398/0.4875, allocations: 165.8 kB / 1.386 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.4876, allocations: 31.62 kB / 1.386 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.4879, allocations: 124 kB / 1.386 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4879, allocations: 4 kB / 1.386 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.4879, allocations: 3.953 kB / 1.386 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4879, allocations: 0 / 1.386 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.4882, allocations: 269.5 kB / 1.387 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4882, allocations: 0 / 1.387 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.947e-05/0.4883, allocations: 19.98 kB / 1.387 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4883, allocations: 0 / 1.387 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.4883, allocations: 0 / 1.387 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.4883, allocations: 0 / 1.387 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4883, allocations: 0 / 1.387 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.4886, allocations: 219 kB / 1.387 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.4887, allocations: 120.8 kB / 1.387 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.4888, allocations: 7.984 kB / 1.387 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.4889, allocations: 8 kB / 1.387 GB, free: 7.543 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.489, allocations: 7.922 kB / 1.387 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.489, allocations: 3.938 kB / 1.387 GB, free: 7.531 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003832/0.4894, allocations: 383.1 kB / 1.387 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4894, allocations: 4 kB / 1.387 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002639/0.4896, allocations: 39.8 kB / 1.387 GB, free: 7.121 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 (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.001361/0.491, allocations: 0.988 MB / 1.388 GB, free: 6.238 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.4913, allocations: 55.95 kB / 1.388 GB, free: 6.184 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4913, allocations: 0 / 1.388 GB, free: 6.184 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.507e-05/0.4914, allocations: 23.98 kB / 1.388 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.4917, allocations: 39.28 kB / 1.389 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.4941, allocations: 1.716 MB / 1.39 GB, free: 4.352 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.4945, allocations: 0.783 MB / 1.391 GB, free: 3.543 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001098/0.4946, allocations: 41.92 kB / 1.391 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.4948, allocations: 87.41 kB / 1.391 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of SimCode: time 5.31e-07/0.4948, allocations: 0 / 1.391 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.5125, allocations: 5.182 MB / 1.396 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.5127, allocations: 209.8 kB / 1.396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.529, allocations: 0 / 1.396 GB, free: 14.12 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat does not exist to compare? outputFormat=mat