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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008228/0.0008228, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004926/0.004926, allocations: 170 kB / 16.26 MB, free: 6.613 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.244/1.244, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.346/2.346, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003032, allocations: 11.98 kB / 0.873 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5425/0.5429, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.002507/0.5454, allocations: 2.143 MB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002402/0.5478, allocations: 1.552 MB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002383/0.5481, allocations: 11.88 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005586/0.5487, allocations: 307.2 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005812/0.5492, allocations: 295 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008846/0.5501, allocations: 414.9 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007277/0.5509, allocations: 0.6582 MB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.5511, allocations: 81.72 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004249/0.5515, allocations: 290.5 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003561/0.5519, allocations: 298.7 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.18e-05/0.5519, allocations: 16 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.5521, allocations: 75.89 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.5523, allocations: 179.3 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.5525, allocations: 275.8 kB / 1.03 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.5531, allocations: 0.6987 MB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5531, allocations: 0 / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5531, allocations: 0 / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.5531, allocations: 0 / 1.03 GB, free: 8.551 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.001188/0.5543, allocations: 0.8943 MB / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.5543, allocations: 12.03 kB / 1.031 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/0.5544, allocations: 42.73 kB / 1.031 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.745e-05/0.5545, allocations: 72 kB / 1.031 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007629/0.5552, allocations: 0.6366 MB / 1.032 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.5553, allocations: 12.12 kB / 1.032 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.5553, allocations: 12 kB / 1.032 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.5557, allocations: 207.2 kB / 1.032 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.5557, allocations: 0 / 1.032 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.5557, allocations: 4 kB / 1.032 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.5557, allocations: 4 kB / 1.032 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.5559, allocations: 95.88 kB / 1.032 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.5571, allocations: 1.06 MB / 1.033 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005551/0.5576, allocations: 277 kB / 1.033 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.5579, allocations: 108.2 kB / 1.034 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.5579, allocations: 4 kB / 1.034 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003463/0.5582, allocations: 224 kB / 1.034 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.5582, allocations: 0 / 1.034 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.0008472/0.5591, allocations: 424.4 kB / 1.034 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.5592, allocations: 162.2 kB / 1.034 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.5603, allocations: 1.036 MB / 1.035 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.5603, allocations: 37.7 kB / 1.035 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.5605, allocations: 288.8 kB / 1.036 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.5606, allocations: 87.02 kB / 1.036 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-05/0.5607, allocations: 65.69 kB / 1.036 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.5608, allocations: 326 kB / 1.036 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.5611, allocations: 209.2 kB / 1.036 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.5615, allocations: 319 kB / 1.037 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.5621, allocations: 408.4 kB / 1.037 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5622, allocations: 0 / 1.037 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000997/0.5632, allocations: 0.6761 MB / 1.038 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5632, allocations: 4 kB / 1.038 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5632, allocations: 4 kB / 1.038 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5632, allocations: 7.984 kB / 1.038 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.5636, allocations: 119.8 kB / 1.038 GB, free: 392 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.5636, allocations: 8 kB / 1.038 GB, free: 384 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.5639, allocations: 35.83 kB / 1.038 GB, free: 348 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.5639, allocations: 23.98 kB / 1.038 GB, free: 324 kB / 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.000258/0.5642, allocations: 287.3 kB / 1.038 GB, free: 28 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.372e-05/0.5643, allocations: 75.22 kB / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.922e-05/0.5644, allocations: 69.89 kB / 1.038 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5644, allocations: 7.938 kB / 1.038 GB, free: 15.87 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5644, allocations: 4 kB / 1.038 GB, free: 15.87 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5644, allocations: 3.984 kB / 1.038 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.5648, allocations: 457.2 kB / 1.039 GB, free: 15.37 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5648, allocations: 7.938 kB / 1.039 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.5649, allocations: 20 kB / 1.039 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.5649, allocations: 11.98 kB / 1.039 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.5649, allocations: 4 kB / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.5649, allocations: 3.938 kB / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5649, allocations: 7.938 kB / 1.039 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.5655, allocations: 390.7 kB / 1.039 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.5657, allocations: 168.1 kB / 1.039 GB, free: 14.72 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.5657, allocations: 16 kB / 1.039 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.5659, allocations: 19.91 kB / 1.039 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.566, allocations: 19.98 kB / 1.039 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.566, allocations: 23.92 kB / 1.039 GB, free: 14.64 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000639/0.5667, allocations: 0.6005 MB / 1.04 GB, free: 14.04 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.904e-06/0.5667, allocations: 0 / 1.04 GB, free: 14.04 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003775/0.567, allocations: 123.9 kB / 1.04 GB, free: 13.92 MB / 0.795 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.001724/0.5688, allocations: 1.303 MB / 1.041 GB, free: 12.77 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006784/0.5695, allocations: 403.5 kB / 1.042 GB, free: 12.38 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.5695, allocations: 4 kB / 1.042 GB, free: 12.37 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.5697, allocations: 107.8 kB / 1.042 GB, free: 12.27 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009375/0.5707, allocations: 202.2 kB / 1.042 GB, free: 12.08 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007265/0.5779, allocations: 6.098 MB / 1.048 GB, free: 5.75 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.5784, allocations: 0.921 MB / 1.049 GB, free: 4.801 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002631/0.5786, allocations: 117.5 kB / 1.049 GB, free: 4.684 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.5789, allocations: 235.3 kB / 1.049 GB, free: 4.453 MB / 0.795 GB Notification: Performance of SimCode: time 6.72e-07/0.5789, allocations: 0 / 1.049 GB, free: 4.453 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.6035, allocations: 12.57 MB / 1.062 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.6037, allocations: 258.6 kB / 1.062 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.5, allocations: 0 / 1.062 GB, free: 7.879 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)