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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 252 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 176.4 kB / 326.5 MB, free: 2.27 MB / 250.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.5775 GB, free: 20.25 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.000828/0.0008279, allocations: 91.84 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003164, allocations: 12.5 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2204, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.3898, allocations: 135.1 MB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.3901, allocations: 83.95 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05939/0.4495, allocations: 22.76 MB / 1.054 GB, free: 1.723 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4495, allocations: 0 / 1.054 GB, free: 1.723 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.23e-05/0.4496, allocations: 23.94 kB / 1.054 GB, free: 1.699 MB / 0.698 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.00172/0.4513, allocations: 0.916 MB / 1.055 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4514, allocations: 8.031 kB / 1.055 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.4516, allocations: 71.16 kB / 1.055 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3982/0.8498, allocations: 0.6376 MB / 1.056 GB, free: 145.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.8499, allocations: 12.8 kB / 1.056 GB, free: 145.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.8499, allocations: 11.47 kB / 1.056 GB, free: 145.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.8504, allocations: 206 kB / 1.056 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.8504, allocations: 3.344 kB / 1.056 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.8505, allocations: 0.7969 kB / 1.056 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.8505, allocations: 9.25 kB / 1.056 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.8507, allocations: 113.4 kB / 1.056 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.8525, allocations: 1.088 MB / 1.057 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/0.853, allocations: 289.3 kB / 1.058 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.8531, allocations: 5.688 kB / 1.058 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003866/0.8535, allocations: 230.6 kB / 1.058 GB, free: 144.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 3.076e-06/0.8535, allocations: 0 / 1.058 GB, free: 144.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0009284/0.8544, allocations: 444.8 kB / 1.058 GB, free: 144.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.8545, allocations: 159.8 kB / 1.058 GB, free: 144.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.8555, allocations: 0.9166 MB / 1.059 GB, free: 144.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.8556, allocations: 39.64 kB / 1.059 GB, free: 144.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.8557, allocations: 283.5 kB / 1.06 GB, free: 144.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.8558, allocations: 80.44 kB / 1.06 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.8558, allocations: 12.5 kB / 1.06 GB, free: 144.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.856, allocations: 396.3 kB / 1.06 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/0.8563, allocations: 248.7 kB / 1.06 GB, free: 143.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.8568, allocations: 346.5 kB / 1.061 GB, free: 143.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.8572, allocations: 284.4 kB / 1.061 GB, free: 143.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8572, allocations: 0 / 1.061 GB, free: 143.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001135/0.8584, allocations: 0.7564 MB / 1.062 GB, free: 143.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.8584, allocations: 7.812 kB / 1.062 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.8584, allocations: 5.156 kB / 1.062 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.8584, allocations: 6.938 kB / 1.062 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.8588, allocations: 113.6 kB / 1.062 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.8588, allocations: 6.562 kB / 1.062 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.8592, allocations: 44.59 kB / 1.062 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.8592, allocations: 35.2 kB / 1.062 GB, free: 143.7 MB / 0.698 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.0002717/0.8595, allocations: 282.1 kB / 1.062 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.8596, allocations: 70.34 kB / 1.062 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007248/0.8603, allocations: 397.9 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.8604, allocations: 4.5 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8604, allocations: 5.875 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.8604, allocations: 4.562 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.8609, allocations: 482.4 kB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.8609, allocations: 7.594 kB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.427e-05/0.861, allocations: 23.73 kB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.861, allocations: 4.25 kB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.861, allocations: 15.36 kB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.861, allocations: 5.266 kB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8611, allocations: 4.406 kB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006302/0.8617, allocations: 464.2 kB / 1.064 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.8619, allocations: 171.4 kB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.361e-05/0.862, allocations: 8.328 kB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.8622, allocations: 23.41 kB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.8623, allocations: 22.84 kB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.8623, allocations: 21.05 kB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006897/0.863, allocations: 0.5937 MB / 1.064 GB, free: 142.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.863, allocations: 0 / 1.064 GB, free: 142.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004312/0.8634, allocations: 134.4 kB / 1.065 GB, free: 142.9 MB / 0.698 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) * Number of clocked states: 0 () * 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.001116/0.8645, allocations: 0.4939 MB / 1.065 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008087/0.8654, allocations: 422.6 kB / 1.065 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8654, allocations: 2.281 kB / 1.065 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.8657, allocations: 124.9 kB / 1.066 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008842/0.8666, allocations: 198.5 kB / 1.066 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.8686, allocations: 1.21 MB / 1.067 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.8691, allocations: 0.939 MB / 1.068 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003841/0.8695, allocations: 115.1 kB / 1.068 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.8697, allocations: 56.31 kB / 1.068 GB, free: 141.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/0.8697, allocations: 0 / 1.068 GB, free: 141.5 MB / 0.698 GB Notification: Performance of Templates: time 0.01573/0.8854, allocations: 7.351 MB / 1.075 GB, free: 141 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches