Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001602/0.001602, allocations: 191.7 kB / 16.14 MB, free: 6.719 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.775/2.775, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 66.89 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3355, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.003113/0.3387, allocations: 0.9024 MB / 1.053 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00332/0.342, allocations: 1.474 MB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002735/0.3424, allocations: 4 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008062/0.3432, allocations: 187.6 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.3435, allocations: 107.7 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.345, allocations: 329.3 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.3461, allocations: 0.7644 MB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.3464, allocations: 88.27 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00065/0.347, allocations: 307.3 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000571/0.3476, allocations: 251.3 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.3478, allocations: 16 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003983/0.3482, allocations: 79.94 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000564/0.3488, allocations: 303.3 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006698/0.3495, allocations: 250.7 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.3509, allocations: 0.8768 MB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.3509, allocations: 0 / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3509, allocations: 0 / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.141e-05/0.351, allocations: 0 / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00287/0.3539, allocations: 0.888 MB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.3539, allocations: 8.031 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003582/0.3543, allocations: 60.31 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.3553, allocations: 0.5371 MB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.3554, allocations: 28.61 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.3556, allocations: 36.31 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.3561, allocations: 306.9 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3561, allocations: 192 / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.3562, allocations: 11.92 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3562, allocations: 4 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.3565, allocations: 223.8 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.3588, allocations: 1.187 MB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.3595, allocations: 463.7 kB / 1.062 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.3597, allocations: 186.6 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3598, allocations: 0 / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004736/0.3602, allocations: 331.8 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=24): time 2.033e-06/0.3603, allocations: 0 / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24): time 0.001152/0.3614, allocations: 0.6334 MB / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.3615, allocations: 122.7 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007953/0.3623, allocations: 0.5994 MB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.3624, allocations: 45.7 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.3627, allocations: 218.4 kB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.3628, allocations: 55.44 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003174/0.3631, allocations: 181.5 kB / 1.064 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3633, allocations: 354.8 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.3635, allocations: 131.8 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000952/0.3644, allocations: 0.7225 MB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.3649, allocations: 296.6 kB / 1.065 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3649, allocations: 0 / 1.065 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007702/0.3657, allocations: 421 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.3657, allocations: 12.03 kB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3657, allocations: 4 kB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.3657, allocations: 7.938 kB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.3659, allocations: 31.92 kB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.366, allocations: 11.92 kB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.3673, allocations: 132.5 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.3674, allocations: 15.98 kB / 1.066 GB, free: 10.24 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003651/0.3677, allocations: 261.6 kB / 1.066 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.004e-05/0.3678, allocations: 39.53 kB / 1.066 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.533e-05/0.3679, allocations: 55.31 kB / 1.066 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3679, allocations: 4 kB / 1.066 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.368, allocations: 4 kB / 1.066 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.368, allocations: 3.984 kB / 1.066 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.3684, allocations: 405.2 kB / 1.067 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.3684, allocations: 0 / 1.067 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.686e-05/0.3685, allocations: 15.86 kB / 1.067 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3685, allocations: 4 kB / 1.067 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.3685, allocations: 11.94 kB / 1.067 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3685, allocations: 0 / 1.067 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3685, allocations: 256 / 1.067 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000714/0.3692, allocations: 0.5098 MB / 1.067 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.3694, allocations: 128.6 kB / 1.067 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.3694, allocations: 19.86 kB / 1.067 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.3696, allocations: 19.92 kB / 1.067 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.3697, allocations: 23.97 kB / 1.067 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.3698, allocations: 19.98 kB / 1.067 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000507/0.3703, allocations: 435.1 kB / 1.068 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.71e-07/0.3703, allocations: 0 / 1.068 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005344/0.3708, allocations: 107.9 kB / 1.068 GB, free: 8.098 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0003132/0.3711, allocations: 145.4 kB / 1.068 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005965/0.3718, allocations: 356 kB / 1.068 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3718, allocations: 0 / 1.068 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.372, allocations: 187.9 kB / 1.069 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3724, allocations: 40.02 kB / 1.069 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.3738, allocations: 0.9188 MB / 1.069 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.3743, allocations: 0.8314 MB / 1.07 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002846/0.3746, allocations: 94.92 kB / 1.07 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.3747, allocations: 39.42 kB / 1.07 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3747, allocations: 4 kB / 1.07 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of Templates: time 0.01534/0.39, allocations: 7.661 MB / 1.078 GB, free: 13.86 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches