Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 108.1 kB / 16.41 MB, free: 6.461 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.001118/0.001118, allocations: 187 kB / 17.34 MB, free: 5.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.35/1.35, allocations: 222.9 MB / 241 MB, free: 14.95 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.434/2.434, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7851/0.7865, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002083/0.7887, allocations: 0.6923 MB / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00223/0.7909, allocations: 1.356 MB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.7911, allocations: 0 / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005548/0.7916, allocations: 183.6 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.7918, allocations: 107.7 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008698/0.7927, allocations: 224 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006596/0.7934, allocations: 0.4957 MB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.7934, allocations: 8 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003587/0.7938, allocations: 199.7 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.7942, allocations: 207.6 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.7943, allocations: 23.94 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.7946, allocations: 83.94 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.795, allocations: 247.5 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.7952, allocations: 159.4 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006117/0.7959, allocations: 474.4 kB / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7959, allocations: 0 / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7959, allocations: 0 / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.7959, allocations: 0 / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001262/0.7972, allocations: 0.6364 MB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.7972, allocations: 16.58 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.7974, allocations: 32.64 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006856/0.7981, allocations: 388 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.7982, allocations: 12.38 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.613e-05/0.7982, allocations: 20.38 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.7986, allocations: 192.7 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.7986, allocations: 192 / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.7987, allocations: 7.938 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.7987, allocations: 3.938 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.7989, allocations: 111.9 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.7994, allocations: 391.1 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004681/0.7999, allocations: 311.6 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.8001, allocations: 126.6 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.8001, allocations: 4 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004823/0.8006, allocations: 277.6 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.8006, allocations: 4 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0009057/0.8015, allocations: 0.497 MB / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/0.8016, allocations: 114.8 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004969/0.8021, allocations: 392.5 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.481e-05/0.8022, allocations: 45.69 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.8024, allocations: 144.8 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.8025, allocations: 47.5 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.8027, allocations: 117.6 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.8029, allocations: 342.8 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.8031, allocations: 83.95 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.8036, allocations: 467 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.8039, allocations: 253.6 kB / 1.176 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8039, allocations: 3.938 kB / 1.176 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005366/0.8045, allocations: 341.2 kB / 1.177 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.8045, allocations: 10.44 kB / 1.177 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.8045, allocations: 4 kB / 1.177 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.8046, allocations: 4 kB / 1.177 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.8047, allocations: 35.91 kB / 1.177 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.8048, allocations: 7.938 kB / 1.177 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007376/0.8055, allocations: 68.33 kB / 1.177 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.8055, allocations: 16.12 kB / 1.177 GB, free: 9.504 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002437/0.8058, allocations: 192 kB / 1.177 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.8058, allocations: 27.66 kB / 1.177 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/0.8059, allocations: 33.89 kB / 1.177 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.8059, allocations: 0 / 1.177 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8059, allocations: 4 kB / 1.177 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.8059, allocations: 3.984 kB / 1.177 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.8063, allocations: 289.4 kB / 1.177 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.8063, allocations: 0 / 1.177 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.8063, allocations: 7.984 kB / 1.177 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.8063, allocations: 3.938 kB / 1.177 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.8064, allocations: 8.125 kB / 1.177 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.8064, allocations: 4 kB / 1.177 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.8064, allocations: 4 kB / 1.177 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.8069, allocations: 438.2 kB / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.879e-05/0.807, allocations: 104.7 kB / 1.178 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.807, allocations: 7.938 kB / 1.178 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.8071, allocations: 7.984 kB / 1.178 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.8072, allocations: 19.92 kB / 1.178 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.8072, allocations: 12 kB / 1.178 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000308/0.8075, allocations: 291 kB / 1.178 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8076, allocations: 0 / 1.178 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003946/0.808, allocations: 83.98 kB / 1.178 GB, free: 7.895 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0003241/0.8083, allocations: 144 kB / 1.179 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005143/0.8088, allocations: 251.7 kB / 1.179 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8088, allocations: 0.8125 kB / 1.179 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.8091, allocations: 171.8 kB / 1.179 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.8094, allocations: 34.14 kB / 1.179 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.8104, allocations: 0.6003 MB / 1.18 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.8108, allocations: 0.7597 MB / 1.18 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.8109, allocations: 35.38 kB / 1.18 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.8109, allocations: 4 kB / 1.18 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of Templates: time 0.007797/0.8187, allocations: 4.325 MB / 1.185 GB, free: 1.57 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1] Variables in the result:intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1],time