Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.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.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002053, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.579/1.579, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.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.767/1.767, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.002014/0.002014, allocations: 72.58 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3297, allocations: 114.5 MB / 0.7834 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime): time 0.004703/0.3344, allocations: 2.473 MB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003022/0.3375, allocations: 1.467 MB / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.3378, allocations: 11.88 kB / 0.7873 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008072/0.3386, allocations: 322.8 kB / 0.7876 GB, free: 9.141 MB / 0.6075 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.0007445/0.3394, allocations: 338.6 kB / 0.7879 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.3404, allocations: 388.7 kB / 0.7883 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008398/0.3413, allocations: 0.7012 MB / 0.7889 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.3416, allocations: 73.73 kB / 0.789 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004525/0.342, allocations: 322.7 kB / 0.7893 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000398/0.3424, allocations: 318.7 kB / 0.7896 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.925e-05/0.3425, allocations: 32 kB / 0.7897 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.3428, allocations: 91.95 kB / 0.7897 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.3431, allocations: 191.3 kB / 0.7899 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.3434, allocations: 270.2 kB / 0.7902 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008508/0.3442, allocations: 0.7319 MB / 0.7909 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.3443, allocations: 4 kB / 0.7909 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3443, allocations: 7.938 kB / 0.7909 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.3443, allocations: 0 / 0.7909 GB, free: 5.711 MB / 0.6075 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.001693/0.346, allocations: 1.003 MB / 0.7919 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.346, allocations: 12.03 kB / 0.7919 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.3462, allocations: 75.98 kB / 0.792 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009105/0.3471, allocations: 0.621 MB / 0.7926 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.3471, allocations: 12.38 kB / 0.7926 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.3472, allocations: 23.86 kB / 0.7926 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.3476, allocations: 197.8 kB / 0.7928 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3476, allocations: 0 / 0.7928 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.3476, allocations: 3.984 kB / 0.7928 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3477, allocations: 4 kB / 0.7928 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.3479, allocations: 95.88 kB / 0.7929 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.3493, allocations: 1.052 MB / 0.7939 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.35, allocations: 281 kB / 0.7942 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.3503, allocations: 100.2 kB / 0.7943 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.3503, allocations: 11.92 kB / 0.7943 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004448/0.3508, allocations: 223.4 kB / 0.7945 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.3508, allocations: 0 / 0.7945 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.001049/0.3518, allocations: 428.7 kB / 0.7949 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.352, allocations: 162.2 kB / 0.7951 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.3533, allocations: 1.032 MB / 0.7961 GB, free: 92 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.3533, allocations: 33.7 kB / 0.7961 GB, free: 52 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.3537, allocations: 288.9 kB / 0.7964 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/0.3538, allocations: 75.08 kB / 0.7965 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.354, allocations: 150.1 kB / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3541, allocations: 333.9 kB / 0.7969 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.3545, allocations: 209.2 kB / 0.7971 GB, free: 15 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.355, allocations: 307 kB / 0.7974 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006915/0.3557, allocations: 408 kB / 0.7978 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3557, allocations: 0 / 0.7978 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001184/0.3569, allocations: 0.6713 MB / 0.7985 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.3569, allocations: 8 kB / 0.7985 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3569, allocations: 0 / 0.7985 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.357, allocations: 8 kB / 0.7985 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.3574, allocations: 120 kB / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/0.3574, allocations: 11.88 kB / 0.7986 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.3578, allocations: 39.67 kB / 0.7986 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.3578, allocations: 27.98 kB / 0.7987 GB, free: 13.36 MB / 0.6231 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.0003888/0.3582, allocations: 274.7 kB / 0.7989 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.3584, allocations: 75.06 kB / 0.799 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.3585, allocations: 77.81 kB / 0.7991 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.3585, allocations: 8 kB / 0.7991 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/0.3586, allocations: 7.938 kB / 0.7991 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.505e-06/0.3586, allocations: 0 / 0.7991 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005897/0.3592, allocations: 469.1 kB / 0.7995 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.3592, allocations: 4 kB / 0.7995 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.048e-05/0.3593, allocations: 23.92 kB / 0.7996 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3593, allocations: 0 / 0.7996 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.3593, allocations: 11.98 kB / 0.7996 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.3593, allocations: 4 kB / 0.7996 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.3593, allocations: 3.938 kB / 0.7996 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007775/0.3601, allocations: 389.2 kB / 0.8 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.3603, allocations: 156.2 kB / 0.8001 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/0.3604, allocations: 15.98 kB / 0.8001 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.3606, allocations: 15.98 kB / 0.8001 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/0.3607, allocations: 27.91 kB / 0.8002 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.3607, allocations: 15.98 kB / 0.8002 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008551/0.3616, allocations: 0.6044 MB / 0.8008 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3616, allocations: 0 / 0.8008 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004929/0.3621, allocations: 104 kB / 0.8009 GB, free: 10.99 MB / 0.6231 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.001475/0.3636, allocations: 0.4902 MB / 0.8013 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.3646, allocations: 415.8 kB / 0.8017 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3646, allocations: 0 / 0.8017 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.3649, allocations: 107.9 kB / 0.8018 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.3659, allocations: 217.4 kB / 0.802 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.3677, allocations: 1.103 MB / 0.8031 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.3683, allocations: 0.9285 MB / 0.804 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003218/0.3686, allocations: 112.9 kB / 0.8041 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.3688, allocations: 59.41 kB / 0.8042 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.3688, allocations: 0 / 0.8042 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of Templates: time 0.01641/0.3852, allocations: 7.757 MB / 0.8118 GB, free: 60 kB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)