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.001709/0.001709, allocations: 101.4 kB / 15.7 MB, free: 28 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.00198/0.00198, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.654/1.654, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.817/1.817, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001417/0.001417, allocations: 71.94 kB / 0.6723 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2902, allocations: 114.6 MB / 0.7842 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime): time 0.003908/0.2942, allocations: 2.469 MB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002398/0.2966, allocations: 1.463 MB / 0.788 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.2968, allocations: 15.88 kB / 0.788 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006439/0.2975, allocations: 322.8 kB / 0.7883 GB, free: 8.422 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.0005632/0.298, allocations: 334.7 kB / 0.7886 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008852/0.2989, allocations: 388.7 kB / 0.789 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007719/0.2997, allocations: 0.7051 MB / 0.7897 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.2999, allocations: 81.73 kB / 0.7898 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.3004, allocations: 314.7 kB / 0.7901 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000607/0.3011, allocations: 330.6 kB / 0.7904 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.167e-05/0.3011, allocations: 28 kB / 0.7904 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.3014, allocations: 83.98 kB / 0.7905 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000298/0.3017, allocations: 195.3 kB / 0.7907 GB, free: 6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.3019, allocations: 274.1 kB / 0.7909 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007666/0.3027, allocations: 0.7433 MB / 0.7917 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3027, allocations: 0 / 0.7917 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3027, allocations: 0 / 0.7917 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.3027, allocations: 0 / 0.7917 GB, free: 4.984 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.001631/0.3044, allocations: 1.003 MB / 0.7927 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3044, allocations: 8.031 kB / 0.7927 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.3046, allocations: 83.98 kB / 0.7927 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.3058, allocations: 0.621 MB / 0.7933 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.3058, allocations: 16.36 kB / 0.7934 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.3059, allocations: 15.94 kB / 0.7934 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.3064, allocations: 201.8 kB / 0.7936 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3064, allocations: 0 / 0.7936 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.3064, allocations: 0 / 0.7936 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.3064, allocations: 4 kB / 0.7936 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.3067, allocations: 103.8 kB / 0.7937 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.3081, allocations: 1.052 MB / 0.7947 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/0.3087, allocations: 277 kB / 0.795 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.309, allocations: 108.2 kB / 0.7951 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/0.309, allocations: 7.938 kB / 0.7951 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004783/0.3095, allocations: 227.4 kB / 0.7953 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.664e-06/0.3095, allocations: 0 / 0.7953 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.001035/0.3106, allocations: 425 kB / 0.7957 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002207/0.3108, allocations: 166.2 kB / 0.7959 GB, free: 400 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.3121, allocations: 1.032 MB / 0.7969 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.3121, allocations: 37.64 kB / 0.7969 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.3124, allocations: 284.9 kB / 0.7972 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/0.3125, allocations: 75.08 kB / 0.7972 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.3127, allocations: 150 kB / 0.7974 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3128, allocations: 330 kB / 0.7977 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/0.3132, allocations: 213.2 kB / 0.7979 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.3137, allocations: 303 kB / 0.7982 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/0.3144, allocations: 408.1 kB / 0.7986 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3144, allocations: 0 / 0.7986 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001249/0.3157, allocations: 0.6791 MB / 0.7992 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3157, allocations: 8.938 kB / 0.7993 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3157, allocations: 7.984 kB / 0.7993 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3157, allocations: 4 kB / 0.7993 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.3161, allocations: 111.8 kB / 0.7994 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.3162, allocations: 11.92 kB / 0.7994 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.3164, allocations: 47.83 kB / 0.7994 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.3165, allocations: 20 kB / 0.7994 GB, free: 12.62 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.0003254/0.3168, allocations: 274.3 kB / 0.7997 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.3169, allocations: 71.06 kB / 0.7998 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.3171, allocations: 73.88 kB / 0.7998 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3171, allocations: 4 kB / 0.7998 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.3171, allocations: 3.938 kB / 0.7999 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.3171, allocations: 8 kB / 0.7999 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/0.3177, allocations: 465.1 kB / 0.8003 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3177, allocations: 8 kB / 0.8003 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.644e-05/0.3178, allocations: 23.92 kB / 0.8003 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3178, allocations: 0 / 0.8003 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.3178, allocations: 11.98 kB / 0.8003 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3178, allocations: 4 kB / 0.8004 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3179, allocations: 3.938 kB / 0.8004 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007489/0.3186, allocations: 401.1 kB / 0.8007 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.3189, allocations: 160.2 kB / 0.8009 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.05e-05/0.319, allocations: 8 kB / 0.8009 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.3191, allocations: 11.98 kB / 0.8009 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.3192, allocations: 27.91 kB / 0.8009 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.3192, allocations: 19.98 kB / 0.801 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007746/0.32, allocations: 0.6044 MB / 0.8015 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.32, allocations: 0 / 0.8015 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003982/0.3204, allocations: 112 kB / 0.8017 GB, free: 10.25 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.001128/0.3216, allocations: 484.8 kB / 0.8021 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000758/0.3223, allocations: 406.6 kB / 0.8025 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3224, allocations: 4 kB / 0.8025 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.3226, allocations: 108.1 kB / 0.8026 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00086/0.3235, allocations: 218.2 kB / 0.8028 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.3253, allocations: 1.088 MB / 0.8039 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/0.3259, allocations: 0.9285 MB / 0.8048 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002365/0.3262, allocations: 105.5 kB / 0.8049 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.3263, allocations: 63.41 kB / 0.8049 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.3263, allocations: 0 / 0.8049 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of Templates: time 0.01407/0.3404, allocations: 7.77 MB / 0.8125 GB, free: 15.33 MB / 0.6387 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)