Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.394/1.394, allocations: 288.4 MB / 303.6 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008783/0.0008783, allocations: 186.8 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.107/1.107, allocations: 205.4 MB / 0.631 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006632/0.0006633, allocations: 98.3 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003196, allocations: 22.27 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1426, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.001588/0.1442, allocations: 2.073 MB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1456, allocations: 1.394 MB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1457, allocations: 11.88 kB / 0.9836 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.146, allocations: 299.2 kB / 0.9839 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.1464, allocations: 267 kB / 0.9842 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005207/0.1469, allocations: 335.4 kB / 0.9845 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.1473, allocations: 0.5879 MB / 0.985 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1474, allocations: 69.73 kB / 0.9851 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.1476, allocations: 282.7 kB / 0.9854 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.1478, allocations: 278.8 kB / 0.9856 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.1478, allocations: 12 kB / 0.9857 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.148, allocations: 59.97 kB / 0.9857 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1481, allocations: 167.4 kB / 0.9859 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.1482, allocations: 264 kB / 0.9861 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.1485, allocations: 0.5769 MB / 0.9867 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1485, allocations: 4 kB / 0.9867 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1485, allocations: 0 / 0.9867 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.1485, allocations: 0 / 0.9867 GB, free: 20.55 MB / 0.6198 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.0008802/0.1494, allocations: 0.8943 MB / 0.9876 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.1495, allocations: 16.03 kB / 0.9876 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.1495, allocations: 46.73 kB / 0.9876 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.736e-05/0.1496, allocations: 72 kB / 0.9877 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.1502, allocations: 0.621 MB / 0.9883 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.1502, allocations: 24.05 kB / 0.9883 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.1502, allocations: 12 kB / 0.9883 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.1505, allocations: 207.3 kB / 0.9885 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1505, allocations: 0 / 0.9885 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.1506, allocations: 4 kB / 0.9885 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1506, allocations: 4 kB / 0.9885 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.1508, allocations: 95.88 kB / 0.9886 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008589/0.1516, allocations: 1.056 MB / 0.9897 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.1521, allocations: 281 kB / 0.9899 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.1522, allocations: 104.2 kB / 0.99 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1523, allocations: 11.97 kB / 0.99 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.1525, allocations: 220.1 kB / 0.9903 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.313e-06/0.1525, allocations: 0 / 0.9903 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.0006555/0.1532, allocations: 425.4 kB / 0.9907 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.1532, allocations: 166.2 kB / 0.9908 GB, free: 16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007486/0.154, allocations: 1.028 MB / 0.9918 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.154, allocations: 37.7 kB / 0.9919 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.1542, allocations: 284.9 kB / 0.9921 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.1542, allocations: 71.09 kB / 0.9922 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.1542, allocations: 16 kB / 0.9922 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.84e-05/0.1543, allocations: 334 kB / 0.9925 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.1546, allocations: 213.2 kB / 0.9927 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.1549, allocations: 306.9 kB / 0.993 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.1553, allocations: 411.6 kB / 0.9934 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1553, allocations: 0 / 0.9934 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007659/0.1561, allocations: 0.6641 MB / 0.9941 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.1561, allocations: 8 kB / 0.9941 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1561, allocations: 256 / 0.9941 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1562, allocations: 8 kB / 0.9941 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.1565, allocations: 127.9 kB / 0.9942 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1565, allocations: 7.984 kB / 0.9942 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.1567, allocations: 47.61 kB / 0.9943 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.1567, allocations: 27.98 kB / 0.9943 GB, free: 12.37 MB / 0.6198 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.0001854/0.1569, allocations: 269.6 kB / 0.9945 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.157, allocations: 75 kB / 0.9946 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.658e-05/0.1571, allocations: 73.89 kB / 0.9947 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1571, allocations: 7.938 kB / 0.9947 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1571, allocations: 4 kB / 0.9947 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1571, allocations: 3.984 kB / 0.9947 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.1574, allocations: 469.1 kB / 0.9951 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1574, allocations: 0 / 0.9951 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.1574, allocations: 19.98 kB / 0.9952 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1574, allocations: 4 kB / 0.9952 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.1575, allocations: 4 kB / 0.9952 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1575, allocations: 7.938 kB / 0.9952 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1575, allocations: 0 / 0.9952 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.1579, allocations: 391.4 kB / 0.9956 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.158, allocations: 168.2 kB / 0.9957 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.1581, allocations: 12 kB / 0.9957 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1582, allocations: 27.91 kB / 0.9958 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.1583, allocations: 23.97 kB / 0.9958 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.1583, allocations: 12 kB / 0.9958 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004642/0.1588, allocations: 0.6004 MB / 0.9964 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1588, allocations: 0 / 0.9964 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000304/0.1591, allocations: 123.9 kB / 0.9965 GB, free: 9.996 MB / 0.6198 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.001253/0.1604, allocations: 1.3 MB / 0.9978 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000516/0.1609, allocations: 395.8 kB / 0.9981 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1609, allocations: 8 kB / 0.9981 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.1611, allocations: 103.8 kB / 0.9982 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007467/0.1618, allocations: 189.8 kB / 0.9984 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/0.1661, allocations: 4.465 MB / 1.003 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.1663, allocations: 0.9249 MB / 1.004 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001814/0.1665, allocations: 112.9 kB / 1.004 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.1667, allocations: 235.3 kB / 1.004 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.1667, allocations: 0 / 1.004 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3297/0.4965, allocations: 13.75 MB / 1.017 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.4967, allocations: 256.9 kB / 1.018 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/2.687, allocations: 0 / 1.018 GB, free: 4.336 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)