Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009693/0.0009692, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001224/0.001224, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 252 MB / 0.5102 GB, free: 4.758 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006243/0.0006245, allocations: 16 kB / 0.6243 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6192/0.6199, allocations: 106.3 MB / 0.7282 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.004545/0.6245, allocations: 2.085 MB / 0.7302 GB, free: 9.305 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003029/0.6275, allocations: 1.225 MB / 0.7314 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.6278, allocations: 11.88 kB / 0.7314 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007838/0.6286, allocations: 291.2 kB / 0.7317 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000662/0.6293, allocations: 275 kB / 0.7319 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.6303, allocations: 298.9 kB / 0.7322 GB, free: 7.219 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008823/0.6312, allocations: 0.5684 MB / 0.7328 GB, free: 6.648 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.6314, allocations: 65.05 kB / 0.7328 GB, free: 6.582 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004259/0.6319, allocations: 262.7 kB / 0.7331 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003507/0.6322, allocations: 254.9 kB / 0.7333 GB, free: 6.074 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.6323, allocations: 12 kB / 0.7333 GB, free: 6.062 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.6325, allocations: 43.98 kB / 0.7334 GB, free: 6.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.6327, allocations: 167.4 kB / 0.7336 GB, free: 5.855 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002684/0.633, allocations: 113.4 kB / 0.7337 GB, free: 5.738 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007141/0.6337, allocations: 0.5396 MB / 0.7342 GB, free: 5.199 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6337, allocations: 8 kB / 0.7342 GB, free: 5.191 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6337, allocations: 0 / 0.7342 GB, free: 5.191 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.6337, allocations: 0 / 0.7342 GB, free: 5.191 MB / 0.545 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.001399/0.6351, allocations: 0.863 MB / 0.735 GB, free: 4.277 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.6352, allocations: 8.031 kB / 0.735 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.6353, allocations: 79.11 kB / 0.7351 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009432/0.6363, allocations: 0.5502 MB / 0.7357 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.6363, allocations: 19.92 kB / 0.7357 GB, free: 3.582 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.6363, allocations: 11.94 kB / 0.7357 GB, free: 3.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/0.6368, allocations: 197.8 kB / 0.7359 GB, free: 3.355 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.6368, allocations: 4 kB / 0.7359 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.6368, allocations: 0 / 0.7359 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.6369, allocations: 8 kB / 0.7359 GB, free: 3.344 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.6371, allocations: 99.83 kB / 0.736 GB, free: 3.246 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.6382, allocations: 1.028 MB / 0.737 GB, free: 2.152 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005332/0.6388, allocations: 277 kB / 0.7373 GB, free: 1.836 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.639, allocations: 112.2 kB / 0.7374 GB, free: 1.711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.639, allocations: 4 kB / 0.7374 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004203/0.6395, allocations: 224.5 kB / 0.7376 GB, free: 1.461 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.412e-06/0.6395, allocations: 0 / 0.7376 GB, free: 1.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.0008736/0.6404, allocations: 413.5 kB / 0.738 GB, free: 1.051 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/0.6405, allocations: 166.2 kB / 0.7381 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.6416, allocations: 0.9888 MB / 0.7391 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.6416, allocations: 33.7 kB / 0.7391 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.6419, allocations: 276.9 kB / 0.7394 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.403e-05/0.642, allocations: 79.14 kB / 0.7395 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.642, allocations: 15.94 kB / 0.7395 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.6422, allocations: 386.8 kB / 0.7398 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.6426, allocations: 209.2 kB / 0.74 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.643, allocations: 299 kB / 0.7403 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.6434, allocations: 240.9 kB / 0.7406 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6434, allocations: 0 / 0.7406 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001078/0.6445, allocations: 0.6589 MB / 0.7412 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6445, allocations: 4.156 kB / 0.7412 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.6445, allocations: 11.94 kB / 0.7412 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.6446, allocations: 7.984 kB / 0.7412 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.645, allocations: 111.8 kB / 0.7413 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.645, allocations: 4.188 kB / 0.7413 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.6453, allocations: 43.73 kB / 0.7414 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.6453, allocations: 27.98 kB / 0.7414 GB, free: 13.43 MB / 0.5606 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 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003076/0.6456, allocations: 273.6 kB / 0.7417 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.377e-05/0.6457, allocations: 79.02 kB / 0.7417 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.6459, allocations: 69.59 kB / 0.7418 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.6459, allocations: 11.92 kB / 0.7418 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.6459, allocations: 0 / 0.7418 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6459, allocations: 0 / 0.7418 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.6463, allocations: 445.3 kB / 0.7422 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6463, allocations: 4 kB / 0.7423 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/0.6464, allocations: 23.92 kB / 0.7423 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.6464, allocations: 0 / 0.7423 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.6464, allocations: 11.95 kB / 0.7423 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.6464, allocations: 7.984 kB / 0.7423 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6465, allocations: 0 / 0.7423 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.6471, allocations: 389 kB / 0.7427 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.6472, allocations: 168.2 kB / 0.7428 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.6473, allocations: 11.98 kB / 0.7428 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.6475, allocations: 23.94 kB / 0.7429 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.6476, allocations: 23.97 kB / 0.7429 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.6476, allocations: 12 kB / 0.7429 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000694/0.6483, allocations: 0.5693 MB / 0.7434 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6483, allocations: 0 / 0.7434 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004253/0.6488, allocations: 119.9 kB / 0.7436 GB, free: 11.11 MB / 0.5606 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 (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.001099/0.6499, allocations: 488.8 kB / 0.744 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007506/0.6506, allocations: 400.5 kB / 0.7444 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6506, allocations: 3.938 kB / 0.7444 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.6509, allocations: 103.9 kB / 0.7445 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008803/0.6518, allocations: 185.8 kB / 0.7447 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.6538, allocations: 1.145 MB / 0.7458 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007621/0.6546, allocations: 0.9133 MB / 0.7467 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004375/0.655, allocations: 112.8 kB / 0.7468 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.6552, allocations: 51.42 kB / 0.7469 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of SimCode: time 1.523e-06/0.6552, allocations: 0 / 0.7469 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of Templates: time 0.01486/0.6701, allocations: 6.787 MB / 0.7535 GB, free: 1.16 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) Environment - environmentSimulation: