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.001195/0.001195, allocations: 99.31 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.001609/0.001609, 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.435/1.435, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.469/2.469, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006112/0.0006116, allocations: 8 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8261/0.8268, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.0009649/0.8278, allocations: 0.55 MB / 0.9542 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.8294, allocations: 1.39 MB / 0.9555 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.8295, allocations: 2.125 kB / 0.9555 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.8299, allocations: 178.7 kB / 0.9557 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.83, allocations: 109.3 kB / 0.9558 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007985/0.8308, allocations: 303 kB / 0.9561 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000657/0.8315, allocations: 0.4994 MB / 0.9566 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.8317, allocations: 88.16 kB / 0.9566 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/0.832, allocations: 296.9 kB / 0.9569 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/0.8323, allocations: 219.9 kB / 0.9571 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.595e-05/0.8324, allocations: 15.66 kB / 0.9572 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.8327, allocations: 67.3 kB / 0.9572 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004267/0.8331, allocations: 305 kB / 0.9575 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.8332, allocations: 92.67 kB / 0.9576 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007413/0.834, allocations: 0.7018 MB / 0.9583 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.834, allocations: 0 / 0.9583 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.946e-06/0.834, allocations: 0 / 0.9583 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.834, allocations: 1.375 kB / 0.9583 GB, free: 4.898 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.001499/0.8355, allocations: 0.6988 MB / 0.959 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.8356, allocations: 9.594 kB / 0.959 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.409e-05/0.8357, allocations: 51.48 kB / 0.959 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.8359, allocations: 60.89 kB / 0.9591 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.8371, allocations: 0.5199 MB / 0.9596 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.8371, allocations: 23.83 kB / 0.9596 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.8373, allocations: 36.86 kB / 0.9596 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.8379, allocations: 302.1 kB / 0.9599 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.8379, allocations: 0 / 0.9599 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.8379, allocations: 9.219 kB / 0.9599 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.838, allocations: 10.92 kB / 0.96 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/0.8383, allocations: 217.6 kB / 0.9602 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.8403, allocations: 1.187 MB / 0.9613 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006589/0.8409, allocations: 461.6 kB / 0.9618 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.841, allocations: 6.688 kB / 0.9618 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005294/0.8415, allocations: 337.4 kB / 0.9621 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 2.104e-06/0.8415, allocations: 0 / 0.9621 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001302/0.8428, allocations: 0.6246 MB / 0.9627 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.8429, allocations: 125.8 kB / 0.9628 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007596/0.8437, allocations: 0.591 MB / 0.9634 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.8438, allocations: 43.98 kB / 0.9634 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.844, allocations: 221.7 kB / 0.9637 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.8441, allocations: 49.41 kB / 0.9637 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.8441, allocations: 4.969 kB / 0.9637 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.8442, allocations: 367.6 kB / 0.9641 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.8444, allocations: 122.2 kB / 0.9642 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007543/0.8451, allocations: 0.7167 MB / 0.9649 GB, free: 16 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.8454, allocations: 176.2 kB / 0.965 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8454, allocations: 1.031 kB / 0.965 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007572/0.8462, allocations: 417.7 kB / 0.9654 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.8462, allocations: 11.98 kB / 0.9655 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.8462, allocations: 3 kB / 0.9655 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.8463, allocations: 14.19 kB / 0.9655 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.8465, allocations: 30.17 kB / 0.9655 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.8465, allocations: 4.969 kB / 0.9655 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.8478, allocations: 144.8 kB / 0.9656 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.8478, allocations: 10.16 kB / 0.9656 GB, free: 15.64 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.0004488/0.8483, allocations: 261.8 kB / 0.9659 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.517e-05/0.8484, allocations: 42.62 kB / 0.9659 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.8485, allocations: 54.08 kB / 0.966 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.8485, allocations: 3 kB / 0.966 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.8485, allocations: 5.094 kB / 0.966 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.8485, allocations: 1.062 kB / 0.966 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.849, allocations: 413.4 kB / 0.9664 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.849, allocations: 1 kB / 0.9664 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.8491, allocations: 7.688 kB / 0.9664 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.8491, allocations: 2.094 kB / 0.9664 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.8491, allocations: 11.58 kB / 0.9664 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.8491, allocations: 2.625 kB / 0.9664 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8491, allocations: 1.406 kB / 0.9664 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007619/0.8499, allocations: 0.5387 MB / 0.9669 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.8501, allocations: 133.2 kB / 0.9671 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.8501, allocations: 10.98 kB / 0.9671 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.8503, allocations: 13.83 kB / 0.9671 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.544e-05/0.8504, allocations: 37.97 kB / 0.9671 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.8504, allocations: 14.09 kB / 0.9671 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005465/0.851, allocations: 429.5 kB / 0.9676 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.851, allocations: 1.219 kB / 0.9676 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000575/0.8516, allocations: 110 kB / 0.9677 GB, free: 14.3 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.001179/0.8528, allocations: 1.275 MB / 0.9689 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006565/0.8535, allocations: 345.8 kB / 0.9692 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8535, allocations: 0 / 0.9692 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002695/0.8537, allocations: 194.9 kB / 0.9694 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.854, allocations: 37.75 kB / 0.9695 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.8568, allocations: 3.417 MB / 0.9728 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.8573, allocations: 0.8489 MB / 0.9736 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002721/0.8576, allocations: 98.92 kB / 0.9737 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.8578, allocations: 126.9 kB / 0.9738 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/0.8578, allocations: 0 / 0.9738 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.8865, allocations: 11.26 MB / 0.9848 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.8868, allocations: 195.4 kB / 0.985 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.761, allocations: 0 / 0.985 GB, free: 15.44 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