Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.71/1.71, allocations: 249.3 MB / 261.8 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 172.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009825/0.0009826, allocations: 87.09 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.484e-05, allocations: 4 kB / 0.7881 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.194, allocations: 106.3 MB / 0.8919 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6926/0.8866, allocations: 135.1 MB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.8869, allocations: 82.72 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07224/0.9592, allocations: 22.71 MB / 1.046 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9592, allocations: 0 / 1.046 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001303/0.9594, allocations: 12 kB / 1.046 GB, free: 12.04 MB / 0.6667 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.002025/0.9614, allocations: 0.7577 MB / 1.047 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.228e-05/0.9615, allocations: 8.031 kB / 1.047 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.9616, allocations: 45.3 kB / 1.047 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003404/0.962, allocations: 71.06 kB / 1.047 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.9639, allocations: 0.6392 MB / 1.048 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.964, allocations: 11.19 kB / 1.048 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.964, allocations: 15.73 kB / 1.048 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.9644, allocations: 198 kB / 1.048 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.068e-06/0.9644, allocations: 4 kB / 1.048 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.9645, allocations: 7.125 kB / 1.048 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.9645, allocations: 4 kB / 1.048 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.9647, allocations: 102.1 kB / 1.048 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.9664, allocations: 1.082 MB / 1.049 GB, free: 9.305 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.9668, allocations: 272.1 kB / 1.049 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.967, allocations: 106.8 kB / 1.049 GB, free: 8.957 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.9671, allocations: 18.48 kB / 1.049 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003523/0.9674, allocations: 226.1 kB / 1.05 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 3.406e-06/0.9674, allocations: 0 / 1.05 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.0007956/0.9682, allocations: 332.8 kB / 1.05 GB, free: 8.465 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.9e-05/0.9683, allocations: 166.1 kB / 1.05 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.9699, allocations: 0.9128 MB / 1.051 GB, free: 7.566 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.9699, allocations: 33.27 kB / 1.051 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.9702, allocations: 283.8 kB / 1.051 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.9703, allocations: 76.59 kB / 1.051 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.9704, allocations: 9.75 kB / 1.051 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002131/0.9706, allocations: 391.9 kB / 1.052 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/0.971, allocations: 238.4 kB / 1.052 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.9715, allocations: 338.4 kB / 1.052 GB, free: 6.527 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004774/0.972, allocations: 272.6 kB / 1.052 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.972, allocations: 0 / 1.052 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00119/0.9732, allocations: 0.729 MB / 1.053 GB, free: 5.789 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.9732, allocations: 9.562 kB / 1.053 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.9732, allocations: 4 kB / 1.053 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.9733, allocations: 7.953 kB / 1.053 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.9737, allocations: 115.5 kB / 1.053 GB, free: 5.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/0.9738, allocations: 11.92 kB / 1.053 GB, free: 5.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.9742, allocations: 45.81 kB / 1.053 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.025e-05/0.9743, allocations: 35.05 kB / 1.053 GB, free: 5.586 MB / 0.6667 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 () * 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.0001579/0.9744, allocations: 146.3 kB / 1.054 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.9746, allocations: 71.16 kB / 1.054 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006925/0.9753, allocations: 386.9 kB / 1.054 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.9753, allocations: 7.953 kB / 1.054 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.9753, allocations: 0 / 1.054 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.9753, allocations: 4 kB / 1.054 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00059/0.9759, allocations: 482.5 kB / 1.054 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.9759, allocations: 4 kB / 1.054 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.874e-05/0.976, allocations: 23.94 kB / 1.054 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.976, allocations: 11.92 kB / 1.054 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.9761, allocations: 14.67 kB / 1.055 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.9761, allocations: 4 kB / 1.055 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.9761, allocations: 3.953 kB / 1.055 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/0.9767, allocations: 455.3 kB / 1.055 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.977, allocations: 163.5 kB / 1.055 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-05/0.9771, allocations: 10.38 kB / 1.055 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.9773, allocations: 23.92 kB / 1.055 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.9774, allocations: 23.28 kB / 1.055 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.9774, allocations: 19.55 kB / 1.055 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008078/0.9782, allocations: 0.5797 MB / 1.056 GB, free: 3.496 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9782, allocations: 0 / 1.056 GB, free: 3.496 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005603/0.9788, allocations: 138.4 kB / 1.056 GB, free: 3.375 MB / 0.6667 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.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * 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.002135/0.9809, allocations: 1.614 MB / 1.057 GB, free: 1.891 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007055/0.9816, allocations: 395.7 kB / 1.058 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.9817, allocations: 4.312 kB / 1.058 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.9819, allocations: 115.2 kB / 1.058 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008766/0.9827, allocations: 189.2 kB / 1.058 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.9849, allocations: 1.042 MB / 1.059 GB, free: 440 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006867/0.9856, allocations: 0.9434 MB / 1.06 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004116/0.986, allocations: 104.9 kB / 1.06 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.9864, allocations: 227.1 kB / 1.06 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/0.9864, allocations: 0 / 1.06 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/1.016, allocations: 13.46 MB / 1.074 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/1.016, allocations: 236.7 kB / 1.074 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.413, allocations: 0 / 1.074 GB, free: 1.75 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-129600 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)