Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_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.001012/0.001012, allocations: 86.64 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.001091/0.001091, 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.452/1.452, allocations: 223.3 MB / 240 MB, free: 5.41 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.57/2.57, allocations: 390.4 MB / 0.6655 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005248/0.000525, allocations: 11.94 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8156/0.8162, allocations: 142.3 MB / 0.9539 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.0009564/0.8172, allocations: 0.547 MB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.8189, allocations: 1.428 MB / 0.9558 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.8189, allocations: 6.469 kB / 0.9558 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.8194, allocations: 184.4 kB / 0.956 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.8195, allocations: 111.3 kB / 0.9561 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000776/0.8203, allocations: 299 kB / 0.9564 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006931/0.821, allocations: 0.6612 MB / 0.957 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.8211, allocations: 83.11 kB / 0.9571 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.8215, allocations: 296.2 kB / 0.9574 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.8218, allocations: 230 kB / 0.9576 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.858e-05/0.8219, allocations: 15.5 kB / 0.9576 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.8221, allocations: 74.42 kB / 0.9577 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003559/0.8225, allocations: 302.9 kB / 0.958 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.8226, allocations: 91.58 kB / 0.9581 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004924/0.8231, allocations: 0.6978 MB / 0.9587 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.8231, allocations: 0 / 0.9587 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8231, allocations: 1.188 kB / 0.9587 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.8231, allocations: 0 / 0.9587 GB, free: 4.848 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00103/0.8242, allocations: 0.703 MB / 0.9594 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.8242, allocations: 9.375 kB / 0.9594 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.107e-05/0.8243, allocations: 52.66 kB / 0.9595 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.8244, allocations: 52.12 kB / 0.9595 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006637/0.8251, allocations: 0.5203 MB / 0.9601 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.8251, allocations: 28.06 kB / 0.9601 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.8252, allocations: 31.59 kB / 0.9601 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.8257, allocations: 310.7 kB / 0.9604 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.8257, allocations: 0.8125 kB / 0.9604 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.8257, allocations: 5.875 kB / 0.9604 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.8258, allocations: 7.297 kB / 0.9604 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.8261, allocations: 220.8 kB / 0.9606 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.8276, allocations: 1.19 MB / 0.9618 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.8282, allocations: 472.8 kB / 0.9622 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.8284, allocations: 178.8 kB / 0.9624 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.8284, allocations: 2.5 kB / 0.9624 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003988/0.8288, allocations: 335.2 kB / 0.9627 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 2.214e-06/0.8288, allocations: 5.062 kB / 0.9627 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.0009248/0.8298, allocations: 0.6203 MB / 0.9633 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.8298, allocations: 117.6 kB / 0.9635 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006593/0.8305, allocations: 0.5916 MB / 0.964 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.628e-05/0.8306, allocations: 43.55 kB / 0.9641 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.8308, allocations: 225.8 kB / 0.9643 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.8308, allocations: 49.25 kB / 0.9643 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.8308, allocations: 5.281 kB / 0.9643 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.8309, allocations: 365.6 kB / 0.9647 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.8311, allocations: 123.1 kB / 0.9648 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008181/0.832, allocations: 0.7225 MB / 0.9655 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.8322, allocations: 175.8 kB / 0.9657 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.8323, allocations: 1.594 kB / 0.9657 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006904/0.8329, allocations: 423 kB / 0.9661 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.833, allocations: 6.25 kB / 0.9661 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.833, allocations: 3.25 kB / 0.9661 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.833, allocations: 5 kB / 0.9661 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.8332, allocations: 34.2 kB / 0.9661 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.8332, allocations: 5.125 kB / 0.9661 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.8344, allocations: 137.3 kB / 0.9663 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.8344, allocations: 14.78 kB / 0.9663 GB, free: 15.48 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003569/0.8348, allocations: 270.2 kB / 0.9665 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.8348, allocations: 42.25 kB / 0.9666 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.835, allocations: 58.3 kB / 0.9666 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.835, allocations: 3.25 kB / 0.9666 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.835, allocations: 0.9688 kB / 0.9666 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.835, allocations: 0.9375 kB / 0.9666 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.8355, allocations: 414 kB / 0.967 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.8355, allocations: 1 kB / 0.967 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.8355, allocations: 7.156 kB / 0.967 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.8355, allocations: 1.906 kB / 0.967 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.8355, allocations: 8.266 kB / 0.9671 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.8356, allocations: 1.719 kB / 0.9671 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.8356, allocations: 13.06 kB / 0.9671 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007242/0.8363, allocations: 0.5145 MB / 0.9676 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.8364, allocations: 137.4 kB / 0.9677 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.8365, allocations: 6.109 kB / 0.9677 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.8366, allocations: 17.58 kB / 0.9677 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.469e-05/0.8367, allocations: 38.73 kB / 0.9678 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.8368, allocations: 14.03 kB / 0.9678 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005065/0.8373, allocations: 433.7 kB / 0.9682 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8373, allocations: 0 / 0.9682 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005231/0.8378, allocations: 110.4 kB / 0.9683 GB, free: 14.16 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001148/0.839, allocations: 1.102 MB / 0.9694 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000679/0.8397, allocations: 346 kB / 0.9697 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8397, allocations: 1.906 kB / 0.9697 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.84, allocations: 186.8 kB / 0.9699 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.8403, allocations: 46.89 kB / 0.9699 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005898/0.8462, allocations: 3.203 MB / 0.9731 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.8468, allocations: 0.8371 MB / 0.9739 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004455/0.8473, allocations: 94.64 kB / 0.974 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.8475, allocations: 134.5 kB / 0.9741 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of SimCode: time 1.813e-06/0.8476, allocations: 5.094 kB / 0.9741 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.8729, allocations: 11.47 MB / 0.9853 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.8731, allocations: 200.8 kB / 0.9855 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.802, allocations: 3.938 kB / 0.9855 GB, free: 15.31 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat does not exist to compare? outputFormat=mat