Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Sources.Validation.TimeTable,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.00107/0.00107, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.0009898/0.0009899, allocations: 191.5 kB / 16.25 MB, free: 6.629 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.225/1.225, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.335/2.335, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 68.09 kB / 0.8689 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5564, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003463/0.5599, allocations: 2.513 MB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.5622, allocations: 1.556 MB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.5623, allocations: 11.94 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.5629, allocations: 307.1 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000478/0.5633, allocations: 302.9 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.5641, allocations: 411.8 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006108/0.5647, allocations: 0.709 MB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.5649, allocations: 73.73 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.5652, allocations: 338.5 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.5655, allocations: 334.7 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.5656, allocations: 32 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.5657, allocations: 87.91 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.5659, allocations: 191.3 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.5661, allocations: 282.1 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005874/0.5667, allocations: 0.7262 MB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5667, allocations: 0 / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5667, allocations: 0 / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.5668, allocations: 4 kB / 1.025 GB, free: 10.8 MB / 0.7794 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.001237/0.568, allocations: 1.007 MB / 1.026 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.568, allocations: 8.031 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.5681, allocations: 42.73 kB / 1.026 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.5682, allocations: 72 kB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007625/0.569, allocations: 0.625 MB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.569, allocations: 20.06 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.569, allocations: 19.98 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.5694, allocations: 195.3 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.5694, allocations: 0 / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.5694, allocations: 11.98 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5694, allocations: 4 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.5697, allocations: 99.88 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.5708, allocations: 1.052 MB / 1.028 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.5714, allocations: 277 kB / 1.028 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.5716, allocations: 108.2 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.5716, allocations: 4 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/0.572, allocations: 224.1 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.572, allocations: 0 / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.0008734/0.5729, allocations: 421.6 kB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.5729, allocations: 170.1 kB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.574, allocations: 1.036 MB / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.5741, allocations: 33.7 kB / 1.03 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.5743, allocations: 288.9 kB / 1.03 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.5743, allocations: 79.08 kB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.5745, allocations: 146.1 kB / 1.03 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.5746, allocations: 326 kB / 1.031 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.575, allocations: 213.2 kB / 1.031 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.5754, allocations: 307 kB / 1.031 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/0.576, allocations: 409.9 kB / 1.032 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.576, allocations: 0 / 1.032 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001024/0.577, allocations: 0.6752 MB / 1.032 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5771, allocations: 4 kB / 1.032 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.5771, allocations: 4 kB / 1.032 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5771, allocations: 4 kB / 1.032 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.5775, allocations: 119.8 kB / 1.032 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.5775, allocations: 8 kB / 1.032 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.5777, allocations: 31.83 kB / 1.032 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.5778, allocations: 32.14 kB / 1.032 GB, free: 2.398 MB / 0.7794 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.0002748/0.5781, allocations: 285.4 kB / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.5782, allocations: 71.06 kB / 1.033 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.628e-05/0.5783, allocations: 69.89 kB / 1.033 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.5783, allocations: 11.92 kB / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5783, allocations: 0 / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5783, allocations: 0 / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/0.5787, allocations: 465.2 kB / 1.033 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.5787, allocations: 4 kB / 1.033 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.5788, allocations: 27.86 kB / 1.033 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.5788, allocations: 4.125 kB / 1.033 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.5788, allocations: 12 kB / 1.033 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.5788, allocations: 11.92 kB / 1.033 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5788, allocations: 3.984 kB / 1.033 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.5794, allocations: 391.4 kB / 1.034 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.5796, allocations: 160.2 kB / 1.034 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-05/0.5797, allocations: 11.98 kB / 1.034 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.5798, allocations: 19.92 kB / 1.034 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.5799, allocations: 19.97 kB / 1.034 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.5799, allocations: 12 kB / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006459/0.5806, allocations: 0.6083 MB / 1.035 GB, free: 140 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5806, allocations: 0 / 1.035 GB, free: 140 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003709/0.581, allocations: 115.9 kB / 1.035 GB, free: 24 kB / 0.7794 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.001779/0.5827, allocations: 1.313 MB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006979/0.5835, allocations: 422.9 kB / 1.036 GB, free: 14.45 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5835, allocations: 0 / 1.036 GB, free: 14.45 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.5837, allocations: 103.9 kB / 1.036 GB, free: 14.35 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008197/0.5845, allocations: 224.7 kB / 1.037 GB, free: 14.15 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00725/0.5918, allocations: 6.092 MB / 1.043 GB, free: 7.832 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.5922, allocations: 0.9245 MB / 1.043 GB, free: 6.879 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002477/0.5925, allocations: 116.9 kB / 1.044 GB, free: 6.762 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.5928, allocations: 239.3 kB / 1.044 GB, free: 6.527 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.5928, allocations: 0 / 1.044 GB, free: 6.527 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.6157, allocations: 13.18 MB / 1.057 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.616, allocations: 253.9 kB / 1.057 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.443, allocations: 0 / 1.057 GB, free: 9.355 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1)