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.001113/0.001112, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.771/2.771, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 67.89 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8577/0.8592, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.004211/0.8635, allocations: 0.6795 MB / 1.018 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003447/0.867, allocations: 1.342 MB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.8672, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0008926/0.8681, allocations: 195.5 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.8684, allocations: 103.7 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.8697, allocations: 226.1 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0008875/0.8706, allocations: 479.7 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.915e-05/0.8707, allocations: 15.97 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005604/0.8713, allocations: 199.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006488/0.8719, allocations: 215.5 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.8722, allocations: 20 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.8726, allocations: 75.95 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006546/0.8733, allocations: 259.5 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004479/0.8737, allocations: 147.3 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009549/0.8747, allocations: 476.9 kB / 1.022 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.8747, allocations: 4 kB / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.086e-06/0.8748, allocations: 0 / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.439e-05/0.8748, allocations: 3.938 kB / 1.022 GB, free: 14.27 MB / 0.7794 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.002158/0.877, allocations: 0.6364 MB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 7.402e-05/0.877, allocations: 11.98 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.8774, allocations: 36.56 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009135/0.8783, allocations: 384.1 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.8784, allocations: 12.38 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.8785, allocations: 24.36 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.879, allocations: 184.7 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.879, allocations: 192 / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.8791, allocations: 7.938 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.8791, allocations: 4 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.8794, allocations: 107.9 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007264/0.8801, allocations: 387 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/0.8808, allocations: 323.6 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.8811, allocations: 122.6 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.8811, allocations: 4 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006615/0.8818, allocations: 279.3 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 4.498e-06/0.8818, allocations: 3.984 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001248/0.8831, allocations: 0.4971 MB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.469e-05/0.8832, allocations: 114.8 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007011/0.8839, allocations: 404.4 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.884, allocations: 37.7 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.8842, allocations: 160.7 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/0.8843, allocations: 31.62 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.8846, allocations: 121.5 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.8848, allocations: 338.8 kB / 1.026 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.885, allocations: 87.94 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006768/0.8857, allocations: 468.1 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.8861, allocations: 253.4 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.8861, allocations: 0 / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008003/0.8869, allocations: 332.8 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.8869, allocations: 8 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.887, allocations: 7.938 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.887, allocations: 4 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.8872, allocations: 32.33 kB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/0.8872, allocations: 15.94 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.8883, allocations: 60.39 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.8883, allocations: 19.98 kB / 1.027 GB, free: 8.379 MB / 0.7794 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.0002926/0.8886, allocations: 188 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-05/0.8888, allocations: 39.55 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.672e-05/0.8888, allocations: 33.89 kB / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.8889, allocations: 0 / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.8889, allocations: 4 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.8889, allocations: 0 / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.8893, allocations: 285.5 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.8893, allocations: 7.938 kB / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.8894, allocations: 3.938 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.8894, allocations: 4 kB / 1.027 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.8894, allocations: 12.11 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.8894, allocations: 4 kB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.8895, allocations: 3.938 kB / 1.027 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008192/0.8903, allocations: 435.7 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.8904, allocations: 104.8 kB / 1.028 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.8905, allocations: 7.984 kB / 1.028 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.8906, allocations: 4 kB / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/0.8907, allocations: 19.98 kB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.8907, allocations: 15.98 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004743/0.8912, allocations: 287 kB / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3e-07/0.8912, allocations: 0 / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005954/0.8918, allocations: 76 kB / 1.028 GB, free: 6.773 MB / 0.7794 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.0003296/0.8922, allocations: 143.1 kB / 1.028 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006123/0.8928, allocations: 275.6 kB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8928, allocations: 0 / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.8931, allocations: 144.2 kB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.8935, allocations: 28.58 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.8948, allocations: 0.566 MB / 1.029 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.8954, allocations: 0.7635 MB / 1.03 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.8956, allocations: 49.94 kB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.8957, allocations: 27.44 kB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of SimCode: time 4.4e-07/0.8957, allocations: 0 / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of Templates: time 0.01176/0.9075, allocations: 5.004 MB / 1.035 GB, free: 15.77 MB / 0.795 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches