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.TimeTableNegativeStartTime.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.977/1.977, allocations: 288.4 MB / 303.4 MB, free: 8.176 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.001031/0.001031, allocations: 176.5 kB / 372 MB, free: 10.29 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.682/1.682, allocations: 205.4 MB / 0.6307 GB, free: 10.04 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.0007649/0.0007649, allocations: 97.52 kB / 0.7441 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.000378, allocations: 13.38 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2182, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime): time 0.002653/0.2209, allocations: 2.063 MB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.2233, allocations: 1.401 MB / 0.983 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004044/0.2237, allocations: 7.938 kB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000632/0.2244, allocations: 299.1 kB / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006698/0.2251, allocations: 267 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009517/0.2261, allocations: 335.5 kB / 0.9839 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000738/0.2268, allocations: 0.5957 MB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.227, allocations: 69.73 kB / 0.9845 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004235/0.2274, allocations: 270.7 kB / 0.9848 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.2277, allocations: 274.8 kB / 0.985 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.2278, allocations: 12 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.2279, allocations: 63.97 kB / 0.9851 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.2281, allocations: 175.4 kB / 0.9853 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.718e-05/0.2282, allocations: 125.3 kB / 0.9854 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.2286, allocations: 0.573 MB / 0.986 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2286, allocations: 0 / 0.986 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2286, allocations: 0 / 0.986 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2286, allocations: 4 kB / 0.986 GB, free: 21.13 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.001144/0.2298, allocations: 0.9058 MB / 0.9868 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2298, allocations: 16.02 kB / 0.9869 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.467e-05/0.2299, allocations: 79 kB / 0.9869 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.2306, allocations: 0.5891 MB / 0.9875 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.2307, allocations: 15.94 kB / 0.9875 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.2307, allocations: 15.98 kB / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.231, allocations: 195.3 kB / 0.9877 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2311, allocations: 4 kB / 0.9877 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.2311, allocations: 7.984 kB / 0.9877 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.2311, allocations: 4 kB / 0.9877 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.2313, allocations: 95.88 kB / 0.9878 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.2324, allocations: 1.06 MB / 0.9889 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.2329, allocations: 281 kB / 0.9891 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.233, allocations: 100.2 kB / 0.9892 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.2331, allocations: 11.98 kB / 0.9892 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003432/0.2334, allocations: 227.9 kB / 0.9895 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.2334, allocations: 4 kB / 0.9895 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.0008085/0.2343, allocations: 416.5 kB / 0.9899 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.2343, allocations: 166.2 kB / 0.99 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008903/0.2352, allocations: 1.02 MB / 0.991 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.2353, allocations: 41.69 kB / 0.9911 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.2354, allocations: 284.9 kB / 0.9913 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.2355, allocations: 79.08 kB / 0.9914 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.2355, allocations: 16 kB / 0.9914 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.701e-05/0.2356, allocations: 326 kB / 0.9917 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.2359, allocations: 209.2 kB / 0.9919 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.2362, allocations: 315 kB / 0.9922 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.2366, allocations: 226.8 kB / 0.9924 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2366, allocations: 0 / 0.9924 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009322/0.2375, allocations: 0.6717 MB / 0.9931 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2376, allocations: 11.89 kB / 0.9931 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2376, allocations: 4 kB / 0.9931 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2376, allocations: 4 kB / 0.9931 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.238, allocations: 117.1 kB / 0.9932 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.238, allocations: 11.94 kB / 0.9932 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.2383, allocations: 43.92 kB / 0.9933 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.2383, allocations: 27.98 kB / 0.9933 GB, free: 13.23 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.0002554/0.2386, allocations: 273.6 kB / 0.9936 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.2387, allocations: 75.05 kB / 0.9936 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.746e-05/0.2388, allocations: 73.84 kB / 0.9937 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2388, allocations: 4 kB / 0.9937 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2388, allocations: 7.938 kB / 0.9937 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2388, allocations: 3.984 kB / 0.9937 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.2392, allocations: 465.1 kB / 0.9942 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2392, allocations: 0 / 0.9942 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.2392, allocations: 20 kB / 0.9942 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.2393, allocations: 7.984 kB / 0.9942 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.2393, allocations: 4 kB / 0.9942 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.2393, allocations: 11.89 kB / 0.9942 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2393, allocations: 0 / 0.9942 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.2398, allocations: 387.5 kB / 0.9946 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.24, allocations: 168.1 kB / 0.9947 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.511e-05/0.24, allocations: 12 kB / 0.9948 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.2402, allocations: 23.92 kB / 0.9948 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.2403, allocations: 27.92 kB / 0.9948 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.2403, allocations: 15.98 kB / 0.9948 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000574/0.2409, allocations: 0.5966 MB / 0.9954 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2409, allocations: 0 / 0.9954 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003971/0.2413, allocations: 120 kB / 0.9955 GB, free: 10.86 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.001027/0.2423, allocations: 496.5 kB / 0.996 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006347/0.243, allocations: 395.6 kB / 0.9964 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.243, allocations: 320 / 0.9964 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.2432, allocations: 111.8 kB / 0.9965 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008184/0.244, allocations: 186.7 kB / 0.9967 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.2455, allocations: 1.183 MB / 0.9978 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.2459, allocations: 0.9289 MB / 0.9987 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002742/0.2462, allocations: 113.5 kB / 0.9988 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.2463, allocations: 59.41 kB / 0.9989 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.2463, allocations: 0 / 0.9989 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.01148/0.2578, allocations: 7.138 MB / 1.006 GB, free: 452 kB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)