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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003446, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7694/0.7698, allocations: 142.3 MB / 0.9536 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002171/0.772, allocations: 1.343 MB / 0.9549 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008798/0.7729, allocations: 466 kB / 0.9553 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.696e-05/0.773, allocations: 0.8438 kB / 0.9553 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.7736, allocations: 160.4 kB / 0.9555 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.7739, allocations: 146.6 kB / 0.9556 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.7744, allocations: 167.9 kB / 0.9558 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.7746, allocations: 125.9 kB / 0.9559 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.7747, allocations: 28.91 kB / 0.9559 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.7749, allocations: 69.89 kB / 0.956 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.7751, allocations: 130.2 kB / 0.9561 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.7751, allocations: 8.25 kB / 0.9561 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.04e-05/0.7752, allocations: 25.27 kB / 0.9562 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.639e-05/0.7753, allocations: 67.23 kB / 0.9562 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.7754, allocations: 61.27 kB / 0.9563 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.7757, allocations: 205.8 kB / 0.9565 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7757, allocations: 3.938 kB / 0.9565 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7757, allocations: 0 / 0.9565 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.7757, allocations: 0 / 0.9565 GB, free: 5.941 MB / 0.7169 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.0007366/0.7764, allocations: 0.5597 MB / 0.957 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.7765, allocations: 13.7 kB / 0.957 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.7765, allocations: 36.34 kB / 0.9571 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.7766, allocations: 31.33 kB / 0.9571 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.7771, allocations: 357.1 kB / 0.9574 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-06/0.7771, allocations: 1.781 kB / 0.9574 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.7771, allocations: 3.594 kB / 0.9575 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.7773, allocations: 78.61 kB / 0.9575 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.7773, allocations: 3.938 kB / 0.9575 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.7773, allocations: 1.406 kB / 0.9575 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.7774, allocations: 3.984 kB / 0.9575 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.7776, allocations: 66.16 kB / 0.9576 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.7781, allocations: 424.7 kB / 0.958 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.7783, allocations: 58.48 kB / 0.9581 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.7783, allocations: 5.484 kB / 0.9581 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.7783, allocations: 31.78 kB / 0.9581 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.7783, allocations: 0 / 0.9581 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004059/0.7788, allocations: 138.4 kB / 0.9582 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.7788, allocations: 51.41 kB / 0.9583 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006207/0.7794, allocations: 0.5064 MB / 0.9588 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.7794, allocations: 25.7 kB / 0.9588 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.7796, allocations: 173.8 kB / 0.959 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.7796, allocations: 5.281 kB / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.7796, allocations: 0 / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.7797, allocations: 348.4 kB / 0.9593 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.082e-05/0.7798, allocations: 23.11 kB / 0.9593 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.084e-05/0.7799, allocations: 28.47 kB / 0.9593 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.774e-05/0.78, allocations: 27.11 kB / 0.9594 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.78, allocations: 0 / 0.9594 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002317/0.7802, allocations: 112 kB / 0.9595 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.7802, allocations: 9.453 kB / 0.9595 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.7803, allocations: 0 / 0.9595 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.7803, allocations: 8.328 kB / 0.9595 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.7804, allocations: 18.92 kB / 0.9595 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.7804, allocations: 0 / 0.9595 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.7805, allocations: 10.86 kB / 0.9595 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.7805, allocations: 0 / 0.9595 GB, free: 3.414 MB / 0.7169 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.0001369/0.7806, allocations: 166.9 kB / 0.9597 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.7807, allocations: 35.98 kB / 0.9597 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.781, allocations: 124.3 kB / 0.9598 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.781, allocations: 0 / 0.9598 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.781, allocations: 3.938 kB / 0.9598 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.781, allocations: 1.375 kB / 0.9598 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.7813, allocations: 266.1 kB / 0.9601 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7813, allocations: 0 / 0.9601 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.558e-05/0.7813, allocations: 14.36 kB / 0.9601 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.7814, allocations: 0 / 0.9601 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.7814, allocations: 0.875 kB / 0.9601 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.7814, allocations: 3.953 kB / 0.9601 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7814, allocations: 0.8125 kB / 0.9601 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.7817, allocations: 207.2 kB / 0.9603 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.505e-05/0.7818, allocations: 115.3 kB / 0.9604 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.7818, allocations: 1.031 kB / 0.9604 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.7819, allocations: 5.531 kB / 0.9604 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.782, allocations: 14.16 kB / 0.9604 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.782, allocations: 1.094 kB / 0.9604 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004385/0.7824, allocations: 387.2 kB / 0.9608 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7824, allocations: 3.938 kB / 0.9608 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000266/0.7827, allocations: 27.62 kB / 0.9608 GB, free: 2.379 MB / 0.7169 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.00121/0.7839, allocations: 0.9782 MB / 0.9618 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.7841, allocations: 54.42 kB / 0.9619 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7842, allocations: 0 / 0.9619 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.987e-05/0.7843, allocations: 30.67 kB / 0.9619 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.7846, allocations: 50.25 kB / 0.9619 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.7872, allocations: 1.69 MB / 0.9636 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.7876, allocations: 0.7791 MB / 0.9643 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000116/0.7877, allocations: 41.67 kB / 0.9644 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.7878, allocations: 86.47 kB / 0.9645 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of SimCode: time 7.12e-07/0.7878, allocations: 0 / 0.9645 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.8054, allocations: 4.944 MB / 0.9693 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.8057, allocations: 210.6 kB / 0.9695 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.603, allocations: 0 / 0.9695 GB, free: 13.19 MB / 0.7325 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