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.001205/0.001205, allocations: 112.4 kB / 16.37 MB, free: 6.012 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.001202/0.001202, allocations: 186.2 kB / 17.31 MB, free: 5.617 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.379/1.379, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.767/1.767, allocations: 292.3 MB / 0.5496 GB, free: 17.39 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.001473/0.001473, allocations: 68.12 kB / 0.673 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2764, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime): time 0.004511/0.2809, allocations: 2.472 MB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4735/0.7545, allocations: 1.464 MB / 0.7887 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/0.7548, allocations: 12.22 kB / 0.7887 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000646/0.7554, allocations: 317.6 kB / 0.789 GB, free: 46.48 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.0006049/0.7562, allocations: 333.2 kB / 0.7893 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000811/0.757, allocations: 391.7 kB / 0.7897 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006236/0.7576, allocations: 0.7091 MB / 0.7904 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.7578, allocations: 79.7 kB / 0.7904 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.7581, allocations: 317.4 kB / 0.7907 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.7584, allocations: 316.4 kB / 0.791 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.965e-05/0.7585, allocations: 31.5 kB / 0.7911 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.7587, allocations: 95.48 kB / 0.7912 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.7589, allocations: 189.5 kB / 0.7914 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.7591, allocations: 269.2 kB / 0.7916 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005654/0.7596, allocations: 0.7403 MB / 0.7923 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7597, allocations: 0 / 0.7923 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7597, allocations: 0.5938 kB / 0.7923 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.7597, allocations: 0 / 0.7923 GB, free: 46.07 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.001301/0.761, allocations: 0.998 MB / 0.7933 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.761, allocations: 13.66 kB / 0.7933 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.7612, allocations: 72.77 kB / 0.7934 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007901/0.7619, allocations: 0.6298 MB / 0.794 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.762, allocations: 14.59 kB / 0.794 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.762, allocations: 15.84 kB / 0.794 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.7624, allocations: 195.8 kB / 0.7942 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.7624, allocations: 0 / 0.7942 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.7624, allocations: 8.828 kB / 0.7942 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.7625, allocations: 3.375 kB / 0.7942 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.7627, allocations: 101.7 kB / 0.7943 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.7638, allocations: 1.049 MB / 0.7954 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/0.7643, allocations: 278.7 kB / 0.7956 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.7645, allocations: 107.2 kB / 0.7957 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.7646, allocations: 7.531 kB / 0.7957 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/0.7649, allocations: 224.7 kB / 0.7959 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.7649, allocations: 2.812 kB / 0.7959 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.0008599/0.7658, allocations: 427.7 kB / 0.7964 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.7659, allocations: 157.6 kB / 0.7965 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.767, allocations: 1.039 MB / 0.7975 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.7671, allocations: 32.39 kB / 0.7975 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.7673, allocations: 291.5 kB / 0.7978 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/0.7673, allocations: 82.55 kB / 0.7979 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.7675, allocations: 140.7 kB / 0.798 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.649e-05/0.7676, allocations: 331 kB / 0.7984 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.768, allocations: 216.8 kB / 0.7986 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/0.7684, allocations: 306.2 kB / 0.7989 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/0.769, allocations: 408.9 kB / 0.7992 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.769, allocations: 1.594 kB / 0.7992 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001056/0.7701, allocations: 0.6708 MB / 0.7999 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7701, allocations: 9.75 kB / 0.7999 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.7701, allocations: 4.188 kB / 0.7999 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.7701, allocations: 5.141 kB / 0.7999 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.7705, allocations: 120.5 kB / 0.8 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.7706, allocations: 5.5 kB / 0.8 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.7709, allocations: 44.62 kB / 0.8001 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.7709, allocations: 25.89 kB / 0.8001 GB, free: 42.55 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.0002728/0.7712, allocations: 278.9 kB / 0.8004 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.7713, allocations: 76.75 kB / 0.8004 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.7714, allocations: 70.42 kB / 0.8005 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.7714, allocations: 4.781 kB / 0.8005 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.7714, allocations: 1.312 kB / 0.8005 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.7714, allocations: 8.016 kB / 0.8005 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.7719, allocations: 456.4 kB / 0.801 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7719, allocations: 1.781 kB / 0.801 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.454e-05/0.772, allocations: 22.53 kB / 0.801 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.772, allocations: 2.062 kB / 0.801 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.772, allocations: 14.94 kB / 0.801 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.772, allocations: 9.766 kB / 0.801 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.772, allocations: 0 / 0.801 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.7727, allocations: 391 kB / 0.8014 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.7728, allocations: 162.1 kB / 0.8015 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/0.7729, allocations: 10.88 kB / 0.8015 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.7731, allocations: 17.89 kB / 0.8016 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.7731, allocations: 25.19 kB / 0.8016 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.7732, allocations: 13.3 kB / 0.8016 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008339/0.774, allocations: 0.6026 MB / 0.8022 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.774, allocations: 2.844 kB / 0.8022 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004559/0.7745, allocations: 115.3 kB / 0.8023 GB, free: 41.39 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.001226/0.7757, allocations: 492.3 kB / 0.8028 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008469/0.7766, allocations: 410.9 kB / 0.8032 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.7766, allocations: 0.5312 kB / 0.8032 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.7769, allocations: 106.6 kB / 0.8033 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.7779, allocations: 225.7 kB / 0.8035 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.7797, allocations: 1.128 MB / 0.8046 GB, free: 40.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.7802, allocations: 0.9236 MB / 0.8055 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.7803, allocations: 61.84 kB / 0.8055 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of SimCode: time 7.52e-07/0.7804, allocations: 0 / 0.8055 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of Templates: time 0.02021/0.8006, allocations: 8.8 MB / 0.8141 GB, free: 38.84 MB / 0.6544 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)