Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 1.428/1.428, allocations: 287.4 MB / 302.6 MB, free: 8.242 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.0009964/0.0009964, allocations: 185.9 kB / 371.1 MB, free: 10.84 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.156/1.156, allocations: 205.4 MB / 0.6298 GB, free: 10.61 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.0006738/0.0006738, allocations: 98.28 kB / 0.7431 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 11.41 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1446, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.001772/0.1464, allocations: 2.068 MB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.1481, allocations: 1.395 MB / 0.9821 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.1483, allocations: 11.88 kB / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004206/0.1488, allocations: 295.2 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.1492, allocations: 271 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.1498, allocations: 330.6 kB / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.1503, allocations: 0.5879 MB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1504, allocations: 81.72 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.1507, allocations: 274.7 kB / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.1509, allocations: 278.8 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.151, allocations: 12 kB / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.1511, allocations: 55.97 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1512, allocations: 171.4 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.284e-05/0.1513, allocations: 125.3 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.1517, allocations: 0.5808 MB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1517, allocations: 4 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1517, allocations: 0 / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.1517, allocations: 0 / 0.9851 GB, free: 21.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.00097/0.1527, allocations: 0.8904 MB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.1527, allocations: 8.031 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.1528, allocations: 46.73 kB / 0.986 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.574e-05/0.1528, allocations: 76 kB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006243/0.1535, allocations: 0.6249 MB / 0.9867 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1535, allocations: 20.06 kB / 0.9867 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1535, allocations: 12 kB / 0.9867 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.1538, allocations: 199.1 kB / 0.9869 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1538, allocations: 3.984 kB / 0.9869 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.1539, allocations: 8 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1539, allocations: 4 kB / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.1541, allocations: 95.88 kB / 0.987 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009284/0.155, allocations: 1.059 MB / 0.9881 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.1555, allocations: 285 kB / 0.9883 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.1556, allocations: 104.2 kB / 0.9884 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1557, allocations: 7.984 kB / 0.9885 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.1559, allocations: 227.4 kB / 0.9887 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.522e-06/0.1559, allocations: 3.938 kB / 0.9887 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.0007209/0.1567, allocations: 416.5 kB / 0.9891 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1567, allocations: 166.1 kB / 0.9892 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.1575, allocations: 1.028 MB / 0.9902 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1576, allocations: 33.7 kB / 0.9903 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.1577, allocations: 292.8 kB / 0.9905 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.1578, allocations: 71.09 kB / 0.9906 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.1578, allocations: 16 kB / 0.9906 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.011e-05/0.1578, allocations: 330 kB / 0.9909 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.1581, allocations: 209.2 kB / 0.9911 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.1584, allocations: 303 kB / 0.9914 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.1589, allocations: 415.8 kB / 0.9918 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1589, allocations: 0 / 0.9918 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008042/0.1597, allocations: 0.6589 MB / 0.9925 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1598, allocations: 5.719 kB / 0.9925 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1598, allocations: 4 kB / 0.9925 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1598, allocations: 7.938 kB / 0.9925 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.1601, allocations: 127.9 kB / 0.9926 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.1601, allocations: 11.94 kB / 0.9926 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.1604, allocations: 43.67 kB / 0.9927 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.1604, allocations: 23.98 kB / 0.9927 GB, free: 13.39 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.0001947/0.1606, allocations: 282.9 kB / 0.993 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.1607, allocations: 71.06 kB / 0.993 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-05/0.1608, allocations: 73.88 kB / 0.9931 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1608, allocations: 11.94 kB / 0.9931 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1608, allocations: 8 kB / 0.9931 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1608, allocations: 0 / 0.9931 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.1611, allocations: 465.1 kB / 0.9936 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1611, allocations: 0 / 0.9936 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.255e-05/0.1611, allocations: 23.98 kB / 0.9936 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1611, allocations: 4 kB / 0.9936 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1612, allocations: 7.984 kB / 0.9936 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1612, allocations: 11.92 kB / 0.9936 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1612, allocations: 3.938 kB / 0.9936 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.1616, allocations: 383.5 kB / 0.994 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.1618, allocations: 164.2 kB / 0.9941 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.276e-05/0.1618, allocations: 11.98 kB / 0.9941 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.162, allocations: 27.92 kB / 0.9942 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.162, allocations: 27.84 kB / 0.9942 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.162, allocations: 15.98 kB / 0.9942 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005022/0.1626, allocations: 0.6005 MB / 0.9948 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1626, allocations: 0 / 0.9948 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003197/0.1629, allocations: 115.9 kB / 0.9949 GB, free: 11.01 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.001326/0.1642, allocations: 1.308 MB / 0.9962 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005506/0.1648, allocations: 392.3 kB / 0.9966 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1648, allocations: 8 kB / 0.9966 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.165, allocations: 103.9 kB / 0.9967 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007691/0.1658, allocations: 183.1 kB / 0.9968 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004683/0.1705, allocations: 4.472 MB / 1.001 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.1707, allocations: 0.9249 MB / 1.002 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002227/0.171, allocations: 113.5 kB / 1.002 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.1712, allocations: 239.3 kB / 1.002 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1712, allocations: 0 / 1.002 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6236/0.7948, allocations: 13.69 MB / 1.016 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.795, allocations: 241.9 kB / 1.016 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/3.231, allocations: 0 / 1.016 GB, free: 5.531 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)