Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001469/0.00147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001559/0.001559, allocations: 192.8 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.156/2.156, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5122/0.5135, allocations: 140.4 MB / 0.9491 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002806/0.5163, allocations: 2.507 MB / 0.9515 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001865/0.5182, allocations: 1.567 MB / 0.9531 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.5184, allocations: 12.06 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.5188, allocations: 295.3 kB / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003929/0.5192, allocations: 306.3 kB / 0.9536 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006969/0.52, allocations: 417.3 kB / 0.954 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.5205, allocations: 0.6587 MB / 0.9547 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.5206, allocations: 78.91 kB / 0.9548 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.5209, allocations: 286.2 kB / 0.955 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.5212, allocations: 317.5 kB / 0.9553 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.5212, allocations: 12.5 kB / 0.9553 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.5214, allocations: 71.17 kB / 0.9554 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.5215, allocations: 183.4 kB / 0.9556 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.5217, allocations: 251.1 kB / 0.9558 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.5222, allocations: 0.7168 MB / 0.9565 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5222, allocations: 0 / 0.9565 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5222, allocations: 4 kB / 0.9565 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5223, allocations: 0 / 0.9565 GB, free: 3.777 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001232/0.5235, allocations: 0.9977 MB / 0.9575 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.5235, allocations: 8.781 kB / 0.9575 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.5236, allocations: 43.45 kB / 0.9576 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.5237, allocations: 72.5 kB / 0.9576 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007477/0.5245, allocations: 0.6273 MB / 0.9582 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.5245, allocations: 17.61 kB / 0.9582 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.5245, allocations: 13 kB / 0.9583 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.5249, allocations: 198.4 kB / 0.9585 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5249, allocations: 0 / 0.9585 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.5249, allocations: 6.656 kB / 0.9585 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5249, allocations: 6.188 kB / 0.9585 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.5252, allocations: 101.8 kB / 0.9586 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.5262, allocations: 1.056 MB / 0.9596 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.5268, allocations: 274.4 kB / 0.9599 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.527, allocations: 110.3 kB / 0.96 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.527, allocations: 8.297 kB / 0.96 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003416/0.5274, allocations: 223.8 kB / 0.9602 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.5274, allocations: 0 / 0.9602 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.0008967/0.5283, allocations: 422.3 kB / 0.9606 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.5283, allocations: 161.3 kB / 0.9607 GB, free: 316 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.5294, allocations: 1.047 MB / 0.9618 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.5295, allocations: 37.55 kB / 0.9618 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.5297, allocations: 283.3 kB / 0.9621 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.224e-05/0.5298, allocations: 84.98 kB / 0.9621 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.53, allocations: 141.3 kB / 0.9623 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5301, allocations: 327.4 kB / 0.9626 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.5305, allocations: 207.9 kB / 0.9628 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004332/0.531, allocations: 314.2 kB / 0.9631 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/0.5316, allocations: 417.4 kB / 0.9635 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5316, allocations: 1 kB / 0.9635 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001115/0.5328, allocations: 0.6662 MB / 0.9641 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.5328, allocations: 5.781 kB / 0.9641 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5328, allocations: 2.188 kB / 0.9641 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.5328, allocations: 5.375 kB / 0.9642 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.5332, allocations: 123.7 kB / 0.9643 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.5333, allocations: 8.969 kB / 0.9643 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.5336, allocations: 45.59 kB / 0.9643 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.5336, allocations: 27.19 kB / 0.9643 GB, free: 14.09 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002939/0.5339, allocations: 277.2 kB / 0.9646 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.534, allocations: 72.34 kB / 0.9647 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.5341, allocations: 74.91 kB / 0.9648 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.5342, allocations: 7.625 kB / 0.9648 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.5342, allocations: 1.75 kB / 0.9648 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5342, allocations: 1.062 kB / 0.9648 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.5347, allocations: 456.5 kB / 0.9652 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5347, allocations: 5.078 kB / 0.9652 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.439e-05/0.5348, allocations: 24.66 kB / 0.9652 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5348, allocations: 2.188 kB / 0.9652 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.5348, allocations: 8.484 kB / 0.9652 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.5348, allocations: 10.34 kB / 0.9652 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5348, allocations: 1.969 kB / 0.9652 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/0.5355, allocations: 389.2 kB / 0.9656 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.5356, allocations: 155 kB / 0.9658 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/0.5357, allocations: 12.31 kB / 0.9658 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.5359, allocations: 24.91 kB / 0.9658 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.536, allocations: 21.98 kB / 0.9658 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.536, allocations: 19.2 kB / 0.9658 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006554/0.5366, allocations: 0.6035 MB / 0.9664 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.363e-06/0.5367, allocations: 0 / 0.9664 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004149/0.5371, allocations: 125.2 kB / 0.9666 GB, free: 12.63 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001801/0.5389, allocations: 1.312 MB / 0.9678 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007222/0.5396, allocations: 403.2 kB / 0.9682 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5396, allocations: 0 / 0.9682 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.5399, allocations: 103.3 kB / 0.9683 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008426/0.5407, allocations: 201.8 kB / 0.9685 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007593/0.5483, allocations: 6.097 MB / 0.9745 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.5488, allocations: 0.9249 MB / 0.9754 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002653/0.549, allocations: 108.9 kB / 0.9755 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.5493, allocations: 235.3 kB / 0.9757 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.5493, allocations: 0 / 0.9757 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4242/0.9735, allocations: 12.88 MB / 0.9883 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.9737, allocations: 258.3 kB / 0.9885 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/3.101, allocations: 0 / 0.9885 GB, free: 9.27 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)