Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",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.001123/0.001123, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001412/0.001413, allocations: 168.7 kB / 15.95 MB, free: 204 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.432/1.432, allocations: 223.3 MB / 240 MB, free: 5.426 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.436/2.436, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8707/0.8711, allocations: 142.3 MB / 0.9539 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0008546/0.872, allocations: 389.8 kB / 0.9542 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.8739, allocations: 1.305 MB / 0.9555 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.8741, allocations: 1.156 kB / 0.9555 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.8746, allocations: 184.4 kB / 0.9557 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.8748, allocations: 109 kB / 0.9558 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008528/0.8756, allocations: 208.9 kB / 0.956 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006513/0.8763, allocations: 371.7 kB / 0.9564 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.577e-05/0.8764, allocations: 4.375 kB / 0.9564 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004657/0.8769, allocations: 199.5 kB / 0.9566 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004815/0.8773, allocations: 190.4 kB / 0.9567 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.8775, allocations: 15.22 kB / 0.9567 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003119/0.8778, allocations: 74.19 kB / 0.9568 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004058/0.8783, allocations: 240.2 kB / 0.957 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.8784, allocations: 55.86 kB / 0.9571 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006109/0.8791, allocations: 357 kB / 0.9574 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.8791, allocations: 1.062 kB / 0.9574 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8791, allocations: 0 / 0.9574 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.684e-05/0.8791, allocations: 0 / 0.9574 GB, free: 5.711 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001294/0.8804, allocations: 0.5246 MB / 0.958 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.8805, allocations: 9.375 kB / 0.958 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.96e-05/0.8805, allocations: 40.34 kB / 0.958 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.8808, allocations: 32.19 kB / 0.958 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/0.8815, allocations: 371.3 kB / 0.9584 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.8815, allocations: 17.14 kB / 0.9584 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-05/0.8816, allocations: 16.5 kB / 0.9584 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.8819, allocations: 195.7 kB / 0.9586 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.8819, allocations: 3.984 kB / 0.9586 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.8819, allocations: 1.375 kB / 0.9586 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.882, allocations: 5.328 kB / 0.9586 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.8821, allocations: 109.9 kB / 0.9587 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.8827, allocations: 386.5 kB / 0.9591 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/0.8832, allocations: 317.2 kB / 0.9594 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.8834, allocations: 124.7 kB / 0.9595 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.8834, allocations: 1.031 kB / 0.9595 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005729/0.884, allocations: 279.9 kB / 0.9598 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.714e-06/0.884, allocations: 0 / 0.9598 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001157/0.8851, allocations: 0.498 MB / 0.9603 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.8852, allocations: 112.4 kB / 0.9604 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005704/0.8858, allocations: 399.7 kB / 0.9608 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.544e-05/0.8859, allocations: 41.38 kB / 0.9608 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.886, allocations: 155 kB / 0.9609 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.8861, allocations: 38.27 kB / 0.961 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.8861, allocations: 6.344 kB / 0.961 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.8862, allocations: 348.2 kB / 0.9613 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.8864, allocations: 89.42 kB / 0.9614 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.8869, allocations: 460.6 kB / 0.9618 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.8871, allocations: 131.7 kB / 0.962 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.8871, allocations: 1.344 kB / 0.962 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004944/0.8876, allocations: 324.2 kB / 0.9623 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.8877, allocations: 5.688 kB / 0.9623 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.8877, allocations: 3.812 kB / 0.9623 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.8877, allocations: 7 kB / 0.9623 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.8878, allocations: 33.91 kB / 0.9623 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.8879, allocations: 14.8 kB / 0.9623 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/0.8886, allocations: 77.97 kB / 0.9624 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.8886, allocations: 15 kB / 0.9624 GB, free: 2.023 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.00021/0.8888, allocations: 191.1 kB / 0.9626 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.8889, allocations: 32.31 kB / 0.9626 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/0.8889, allocations: 34.2 kB / 0.9627 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.889, allocations: 2.281 kB / 0.9627 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.889, allocations: 9.234 kB / 0.9627 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.889, allocations: 1.641 kB / 0.9627 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.8892, allocations: 286.7 kB / 0.963 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.8892, allocations: 1.188 kB / 0.963 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.771e-05/0.8893, allocations: 2.844 kB / 0.963 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.8893, allocations: 6.547 kB / 0.963 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.8893, allocations: 7.609 kB / 0.963 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8893, allocations: 5.438 kB / 0.963 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8893, allocations: 1.438 kB / 0.963 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.8899, allocations: 440.5 kB / 0.9634 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.594e-05/0.8901, allocations: 115.4 kB / 0.9635 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.8901, allocations: 10.11 kB / 0.9635 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/0.8902, allocations: 1.844 kB / 0.9635 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.8903, allocations: 20.27 kB / 0.9635 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.8903, allocations: 18.22 kB / 0.9636 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000337/0.8906, allocations: 290.4 kB / 0.9638 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8906, allocations: 0 / 0.9638 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004895/0.8911, allocations: 74.61 kB / 0.9639 GB, free: 0.9922 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0008916/0.892, allocations: 1.01 MB / 0.9649 GB, free: 220 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004411/0.8925, allocations: 245.2 kB / 0.9651 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8925, allocations: 1.812 kB / 0.9651 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.8927, allocations: 147 kB / 0.9653 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.893, allocations: 35.86 kB / 0.9653 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.8962, allocations: 2.123 MB / 0.9674 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.8966, allocations: 0.7717 MB / 0.9681 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.8968, allocations: 50.56 kB / 0.9682 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.8969, allocations: 79.28 kB / 0.9683 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.8969, allocations: 1.281 kB / 0.9683 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.9172, allocations: 7.275 MB / 0.9754 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.9174, allocations: 210.9 kB / 0.9756 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.827, allocations: 0 / 0.9756 GB, free: 9.465 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat does not exist to compare? outputFormat=mat