Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008689/0.008689, allocations: 101.9 kB / 15.73 MB, free: 5.492 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.00163/0.00163, allocations: 186.8 kB / 16.67 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.91 kB / 1.054 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.053, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.00381/1.057, allocations: 2.485 MB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002685/1.06, allocations: 1.571 MB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/1.06, allocations: 15.88 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006095/1.061, allocations: 318.9 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006055/1.061, allocations: 342.6 kB / 1.212 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000921/1.062, allocations: 450 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007459/1.063, allocations: 0.7168 MB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/1.063, allocations: 69.73 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004078/1.064, allocations: 346.6 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/1.064, allocations: 326.7 kB / 1.214 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/1.064, allocations: 32 kB / 1.214 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/1.064, allocations: 83.97 kB / 1.214 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000187/1.064, allocations: 191.3 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002321/1.065, allocations: 274.1 kB / 1.215 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007546/1.065, allocations: 0.7451 MB / 1.215 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.065, allocations: 0 / 1.215 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.873e-06/1.065, allocations: 4 kB / 1.215 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.388e-06/1.065, allocations: 0 / 1.215 GB, free: 5.66 MB / 0.9356 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.001481/1.067, allocations: 0.995 MB / 1.216 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/1.067, allocations: 8.031 kB / 1.216 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/1.067, allocations: 72 kB / 1.217 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009426/1.068, allocations: 0.6366 MB / 1.217 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/1.068, allocations: 12.38 kB / 1.217 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/1.068, allocations: 15.94 kB / 1.217 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/1.069, allocations: 189.8 kB / 1.217 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/1.069, allocations: 7.938 kB / 1.217 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/1.069, allocations: 8 kB / 1.217 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/1.069, allocations: 4 kB / 1.217 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/1.069, allocations: 95.88 kB / 1.217 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/1.07, allocations: 1.052 MB / 1.219 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005821/1.071, allocations: 281 kB / 1.219 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/1.071, allocations: 104.2 kB / 1.219 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/1.071, allocations: 4 kB / 1.219 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003927/1.072, allocations: 232.2 kB / 1.219 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.754e-06/1.072, allocations: 0 / 1.219 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.00095/1.072, allocations: 417.7 kB / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.073, allocations: 174.1 kB / 1.22 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/1.074, allocations: 1.036 MB / 1.221 GB, free: 32 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/1.074, allocations: 41.64 kB / 1.221 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/1.074, allocations: 288.8 kB / 1.221 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.432e-05/1.074, allocations: 83.08 kB / 1.221 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/1.074, allocations: 138.1 kB / 1.221 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.075, allocations: 330 kB / 1.222 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/1.075, allocations: 209.2 kB / 1.222 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004326/1.075, allocations: 315 kB / 1.222 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/1.076, allocations: 405.4 kB / 1.222 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.076, allocations: 0 / 1.222 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001107/1.077, allocations: 0.6718 MB / 1.223 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.077, allocations: 8 kB / 1.223 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.077, allocations: 0 / 1.223 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/1.077, allocations: 7.984 kB / 1.223 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/1.078, allocations: 115.8 kB / 1.223 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/1.078, allocations: 11.94 kB / 1.223 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/1.078, allocations: 39.73 kB / 1.223 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/1.078, allocations: 27.98 kB / 1.223 GB, free: 13.29 MB / 0.9512 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.0003004/1.078, allocations: 277 kB / 1.224 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/1.078, allocations: 79.05 kB / 1.224 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/1.079, allocations: 69.89 kB / 1.224 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/1.079, allocations: 4 kB / 1.224 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.079, allocations: 3.938 kB / 1.224 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/1.079, allocations: 7.984 kB / 1.224 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/1.079, allocations: 453.2 kB / 1.224 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.079, allocations: 4 kB / 1.224 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.754e-05/1.079, allocations: 19.94 kB / 1.224 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.079, allocations: 4 kB / 1.224 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/1.079, allocations: 11.98 kB / 1.224 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/1.079, allocations: 8.062 kB / 1.224 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.079, allocations: 3.938 kB / 1.224 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006423/1.08, allocations: 391.5 kB / 1.225 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/1.08, allocations: 160.1 kB / 1.225 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.224e-05/1.08, allocations: 8 kB / 1.225 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/1.08, allocations: 19.97 kB / 1.225 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/1.08, allocations: 23.91 kB / 1.225 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/1.08, allocations: 12 kB / 1.225 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007402/1.081, allocations: 0.6122 MB / 1.225 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/1.081, allocations: 0 / 1.225 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004365/1.082, allocations: 116 kB / 1.225 GB, free: 10.93 MB / 0.9512 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.001191/1.083, allocations: 0.4904 MB / 1.226 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007884/1.084, allocations: 399.6 kB / 1.226 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.084, allocations: 0 / 1.226 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/1.084, allocations: 104.4 kB / 1.226 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009018/1.085, allocations: 213.6 kB / 1.227 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/1.086, allocations: 1.084 MB / 1.228 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/1.087, allocations: 0.9285 MB / 1.229 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002917/1.087, allocations: 116.9 kB / 1.229 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/1.087, allocations: 59.42 kB / 1.229 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/1.087, allocations: 0 / 1.229 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of Templates: time 0.01572/1.103, allocations: 7.813 MB / 1.236 GB, free: 15.95 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches