Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001295/0.001295, allocations: 108 kB / 15.61 MB, free: 152 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.001328/0.001328, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.513/1.513, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.504/2.504, allocations: 390.2 MB / 0.6646 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 55.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8845/0.8859, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002007/0.8879, allocations: 0.6728 MB / 0.9503 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.8897, allocations: 1.342 MB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.932e-05/0.8898, allocations: 6.219 kB / 0.9516 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005744/0.8904, allocations: 181.9 kB / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.8905, allocations: 114.9 kB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006651/0.8912, allocations: 222.8 kB / 0.9521 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005613/0.8918, allocations: 472.4 kB / 0.9525 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.946e-05/0.8918, allocations: 12.27 kB / 0.9525 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.8921, allocations: 202 kB / 0.9527 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.8924, allocations: 207.9 kB / 0.9529 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.8926, allocations: 21.56 kB / 0.953 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.8928, allocations: 85.47 kB / 0.953 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004094/0.8932, allocations: 254.7 kB / 0.9533 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.8935, allocations: 154.6 kB / 0.9534 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005646/0.894, allocations: 474.3 kB / 0.9539 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.894, allocations: 0 / 0.9539 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8941, allocations: 3.938 kB / 0.9539 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.8941, allocations: 0 / 0.9539 GB, free: 6.227 MB / 0.7169 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.001061/0.8951, allocations: 0.6314 MB / 0.9545 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.8952, allocations: 9.125 kB / 0.9545 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.8954, allocations: 34.16 kB / 0.9545 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/0.8959, allocations: 384.8 kB / 0.9549 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.8959, allocations: 12.69 kB / 0.9549 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/0.896, allocations: 28.42 kB / 0.9549 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.8963, allocations: 188.6 kB / 0.9551 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.8963, allocations: 0 / 0.9551 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.8963, allocations: 1.875 kB / 0.9551 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.8964, allocations: 1.812 kB / 0.9551 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.8965, allocations: 113 kB / 0.9552 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.8969, allocations: 391.6 kB / 0.9556 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.8974, allocations: 316 kB / 0.9559 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.8975, allocations: 133.9 kB / 0.956 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.8976, allocations: 1.375 kB / 0.956 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004744/0.898, allocations: 289.3 kB / 0.9563 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.898, allocations: 0 / 0.9563 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0008856/0.8989, allocations: 0.4917 MB / 0.9568 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.899, allocations: 113.1 kB / 0.9569 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.8995, allocations: 401.4 kB / 0.9573 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.8995, allocations: 41.42 kB / 0.9573 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.8997, allocations: 154.3 kB / 0.9575 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.8997, allocations: 39.36 kB / 0.9575 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.8999, allocations: 116.1 kB / 0.9576 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.9, allocations: 341.2 kB / 0.9579 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.9001, allocations: 95.03 kB / 0.958 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/0.9006, allocations: 462.5 kB / 0.9585 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.9009, allocations: 254.4 kB / 0.9587 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.9009, allocations: 5.438 kB / 0.9587 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004784/0.9014, allocations: 332.4 kB / 0.959 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.9014, allocations: 10.94 kB / 0.9591 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.9014, allocations: 3.469 kB / 0.9591 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.9014, allocations: 5.781 kB / 0.9591 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.9016, allocations: 28.14 kB / 0.9591 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.9016, allocations: 4.594 kB / 0.9591 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007294/0.9023, allocations: 84.02 kB / 0.9592 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.9024, allocations: 18.61 kB / 0.9592 GB, free: 2.277 MB / 0.7169 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.0002062/0.9026, allocations: 194.7 kB / 0.9594 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.9027, allocations: 32.95 kB / 0.9594 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.9027, allocations: 34.2 kB / 0.9594 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.9027, allocations: 3.875 kB / 0.9594 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.9027, allocations: 0 / 0.9594 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.9027, allocations: 0 / 0.9594 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.903, allocations: 295.4 kB / 0.9597 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.903, allocations: 1.406 kB / 0.9597 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/0.903, allocations: 2.406 kB / 0.9597 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.903, allocations: 2.594 kB / 0.9597 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.903, allocations: 11.92 kB / 0.9597 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.903, allocations: 1.094 kB / 0.9597 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.903, allocations: 1.469 kB / 0.9597 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005117/0.9036, allocations: 436.4 kB / 0.9602 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.9036, allocations: 101 kB / 0.9603 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.9037, allocations: 10.61 kB / 0.9603 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/0.9038, allocations: 1.062 kB / 0.9603 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.9038, allocations: 15.78 kB / 0.9603 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.9039, allocations: 14.23 kB / 0.9603 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002857/0.9041, allocations: 293.1 kB / 0.9606 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.52e-07/0.9041, allocations: 0 / 0.9606 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003858/0.9045, allocations: 82.69 kB / 0.9607 GB, free: 1.254 MB / 0.7169 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.0002129/0.9048, allocations: 150.2 kB / 0.9608 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004388/0.9052, allocations: 266.9 kB / 0.9611 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9052, allocations: 2.156 kB / 0.9611 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.9054, allocations: 143.2 kB / 0.9612 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.9057, allocations: 32.16 kB / 0.9612 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008582/0.9066, allocations: 0.5743 MB / 0.9618 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.9068, allocations: 0.7651 MB / 0.9625 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001331/0.907, allocations: 46.72 kB / 0.9626 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.9071, allocations: 35.14 kB / 0.9626 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.9071, allocations: 0 / 0.9626 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of Templates: time 0.01001/0.9171, allocations: 5.005 MB / 0.9675 GB, free: 13.39 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches