Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.00115/0.00115, allocations: 104.2 kB / 16.36 MB, free: 6.305 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.001089/0.001089, allocations: 189.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.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.001428/0.001428, allocations: 75.02 kB / 0.6729 GB, free: 5.777 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2494, allocations: 114.6 MB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.004127/0.2535, allocations: 2.471 MB / 0.7872 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4842/0.7377, allocations: 1.466 MB / 0.7887 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.7381, allocations: 12.56 kB / 0.7887 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006421/0.7388, allocations: 317 kB / 0.789 GB, free: 46.62 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005949/0.7394, allocations: 338.7 kB / 0.7893 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008926/0.7403, allocations: 377.7 kB / 0.7897 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006524/0.741, allocations: 0.7113 MB / 0.7904 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.7412, allocations: 70.91 kB / 0.7904 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.7415, allocations: 324.6 kB / 0.7907 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.7418, allocations: 313.6 kB / 0.791 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.7419, allocations: 31.03 kB / 0.7911 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.7421, allocations: 94.39 kB / 0.7911 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.7423, allocations: 189.3 kB / 0.7913 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.7425, allocations: 271.3 kB / 0.7916 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006269/0.7432, allocations: 0.7436 MB / 0.7923 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7432, allocations: 0 / 0.7923 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7432, allocations: 0 / 0.7923 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.7432, allocations: 0 / 0.7923 GB, free: 46.22 MB / 0.6544 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.001367/0.7446, allocations: 1.005 MB / 0.7933 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.7446, allocations: 6.938 kB / 0.7933 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.7448, allocations: 78.47 kB / 0.7934 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000764/0.7455, allocations: 0.6256 MB / 0.794 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.7456, allocations: 16.69 kB / 0.794 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.7456, allocations: 15.72 kB / 0.794 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.746, allocations: 196.9 kB / 0.7942 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.746, allocations: 0 / 0.7942 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.746, allocations: 11.36 kB / 0.7942 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.746, allocations: 4.531 kB / 0.7942 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.7463, allocations: 94.39 kB / 0.7943 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.7473, allocations: 1.051 MB / 0.7953 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.7479, allocations: 279.5 kB / 0.7956 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.7481, allocations: 107.2 kB / 0.7957 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.7481, allocations: 10.19 kB / 0.7957 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003632/0.7485, allocations: 226.1 kB / 0.7959 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.7485, allocations: 0 / 0.7959 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.0008793/0.7494, allocations: 428 kB / 0.7963 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.7494, allocations: 158.8 kB / 0.7965 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.7506, allocations: 1.039 MB / 0.7975 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.7507, allocations: 39.2 kB / 0.7975 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.7509, allocations: 287.8 kB / 0.7978 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.751, allocations: 79.64 kB / 0.7979 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.7512, allocations: 141.4 kB / 0.798 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.7513, allocations: 332.9 kB / 0.7983 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.7516, allocations: 215.2 kB / 0.7986 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.7521, allocations: 301.7 kB / 0.7988 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006751/0.7528, allocations: 413.8 kB / 0.7992 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7528, allocations: 0 / 0.7992 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001151/0.7539, allocations: 0.6648 MB / 0.7999 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.754, allocations: 7.094 kB / 0.7999 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.754, allocations: 2.188 kB / 0.7999 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.754, allocations: 6.703 kB / 0.7999 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.7544, allocations: 115.8 kB / 0.8 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.7545, allocations: 4.875 kB / 0.8 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.7548, allocations: 46.56 kB / 0.8001 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.7548, allocations: 26.2 kB / 0.8001 GB, free: 42.68 MB / 0.6544 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.0002701/0.7551, allocations: 279.5 kB / 0.8003 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.13e-05/0.7552, allocations: 78.8 kB / 0.8004 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.7553, allocations: 70.19 kB / 0.8005 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.7553, allocations: 9.625 kB / 0.8005 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.7554, allocations: 1.375 kB / 0.8005 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.7554, allocations: 6.828 kB / 0.8005 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.7558, allocations: 463 kB / 0.801 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7558, allocations: 0 / 0.801 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.7559, allocations: 21.3 kB / 0.801 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.7559, allocations: 8.281 kB / 0.801 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.7559, allocations: 10.2 kB / 0.801 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.7559, allocations: 2.812 kB / 0.801 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.756, allocations: 2.25 kB / 0.801 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006656/0.7566, allocations: 391.4 kB / 0.8014 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.7568, allocations: 160.4 kB / 0.8015 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.7569, allocations: 12.25 kB / 0.8015 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.757, allocations: 13.08 kB / 0.8015 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/0.7571, allocations: 25.22 kB / 0.8016 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.7572, allocations: 18.19 kB / 0.8016 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00083/0.758, allocations: 0.6033 MB / 0.8022 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.758, allocations: 4 kB / 0.8022 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004641/0.7585, allocations: 113.3 kB / 0.8023 GB, free: 41.52 MB / 0.6544 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.001306/0.7598, allocations: 0.4889 MB / 0.8028 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009767/0.7608, allocations: 401 kB / 0.8031 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.7608, allocations: 0 / 0.8031 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.7611, allocations: 109.3 kB / 0.8032 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.7621, allocations: 227.3 kB / 0.8035 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.764, allocations: 1.132 MB / 0.8046 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.7645, allocations: 0.931 MB / 0.8055 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.7647, allocations: 59.12 kB / 0.8055 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.7647, allocations: 0.5625 kB / 0.8055 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.02102/0.7857, allocations: 8.787 MB / 0.8141 GB, free: 38.97 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)