Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002058/0.002058, allocations: 104.6 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 191.2 kB / 22.1 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.705/1.705, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.179/3.179, allocations: 495.8 MB / 0.7831 GB, free: 12.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 67.83 kB / 1.137 GB, free: 12.17 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329/1.331, allocations: 173.6 MB / 1.307 GB, free: 33.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001997/1.333, allocations: 0.6845 MB / 1.307 GB, free: 33.33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001825/1.335, allocations: 1.35 MB / 1.309 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.199e-05/1.335, allocations: 3.938 kB / 1.309 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005006/1.336, allocations: 197.2 kB / 1.309 GB, free: 32.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/1.336, allocations: 101.3 kB / 1.309 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007057/1.336, allocations: 245.9 kB / 1.309 GB, free: 32.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005297/1.337, allocations: 496 kB / 1.31 GB, free: 32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/1.337, allocations: 7.219 kB / 1.31 GB, free: 32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/1.337, allocations: 206 kB / 1.31 GB, free: 31.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/1.337, allocations: 233.6 kB / 1.31 GB, free: 31.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.464e-05/1.338, allocations: 23.19 kB / 1.31 GB, free: 31.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/1.338, allocations: 104 kB / 1.31 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003295/1.338, allocations: 274.9 kB / 1.311 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/1.338, allocations: 153.4 kB / 1.311 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004738/1.339, allocations: 472.1 kB / 1.311 GB, free: 31.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.339, allocations: 3.938 kB / 1.311 GB, free: 31.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/1.339, allocations: 0 / 1.311 GB, free: 31.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.607e-05/1.339, allocations: 6.438 kB / 1.311 GB, free: 31.55 MB / 1.061 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.001033/1.34, allocations: 0.5693 MB / 1.312 GB, free: 31.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/1.34, allocations: 12.34 kB / 1.312 GB, free: 31.13 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/1.34, allocations: 30.2 kB / 1.312 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/1.34, allocations: 329.5 kB / 1.312 GB, free: 30.92 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/1.34, allocations: 13.06 kB / 1.312 GB, free: 30.92 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.25e-05/1.341, allocations: 19 kB / 1.312 GB, free: 30.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/1.341, allocations: 185.5 kB / 1.312 GB, free: 30.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.341, allocations: 12.05 kB / 1.312 GB, free: 30.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/1.341, allocations: 10.12 kB / 1.312 GB, free: 30.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.341, allocations: 4 kB / 1.312 GB, free: 30.81 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/1.341, allocations: 107.6 kB / 1.312 GB, free: 30.79 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/1.341, allocations: 348.5 kB / 1.313 GB, free: 30.56 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/1.342, allocations: 319.7 kB / 1.313 GB, free: 30.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/1.342, allocations: 127.1 kB / 1.313 GB, free: 30.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/1.342, allocations: 0 / 1.313 GB, free: 30.37 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000423/1.342, allocations: 280.4 kB / 1.313 GB, free: 30.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/1.342, allocations: 1.969 kB / 1.313 GB, free: 30.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0008003/1.343, allocations: 0.4929 MB / 1.314 GB, free: 30.1 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/1.343, allocations: 109.1 kB / 1.314 GB, free: 29.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/1.344, allocations: 396.7 kB / 1.314 GB, free: 29.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/1.344, allocations: 42.3 kB / 1.314 GB, free: 29.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/1.344, allocations: 157.7 kB / 1.315 GB, free: 29.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/1.344, allocations: 40.23 kB / 1.315 GB, free: 29.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/1.344, allocations: 116.3 kB / 1.315 GB, free: 29.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/1.344, allocations: 347.2 kB / 1.315 GB, free: 29.22 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/1.344, allocations: 81.44 kB / 1.315 GB, free: 29.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/1.345, allocations: 468 kB / 1.316 GB, free: 28.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/1.345, allocations: 260 kB / 1.316 GB, free: 28.63 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.345, allocations: 0 / 1.316 GB, free: 28.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004355/1.345, allocations: 330 kB / 1.316 GB, free: 28.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.345, allocations: 11.81 kB / 1.316 GB, free: 28.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.345, allocations: 2.906 kB / 1.316 GB, free: 28.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/1.345, allocations: 6 kB / 1.316 GB, free: 28.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/1.346, allocations: 29.77 kB / 1.316 GB, free: 28.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.346, allocations: 9.656 kB / 1.316 GB, free: 28.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007431/1.346, allocations: 80.41 kB / 1.316 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/1.346, allocations: 8.344 kB / 1.316 GB, free: 28.46 MB / 1.061 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.000188/1.346, allocations: 203 kB / 1.316 GB, free: 28.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/1.347, allocations: 31.31 kB / 1.317 GB, free: 28.3 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/1.347, allocations: 39.62 kB / 1.317 GB, free: 28.28 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/1.347, allocations: 3.109 kB / 1.317 GB, free: 28.28 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.347, allocations: 6.938 kB / 1.317 GB, free: 28.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.347, allocations: 3.984 kB / 1.317 GB, free: 28.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/1.347, allocations: 254.3 kB / 1.317 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.347, allocations: 0 / 1.317 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/1.347, allocations: 13.92 kB / 1.317 GB, free: 28.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.347, allocations: 10.94 kB / 1.317 GB, free: 28.06 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/1.347, allocations: 2.688 kB / 1.317 GB, free: 28.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.347, allocations: 6.109 kB / 1.317 GB, free: 28.06 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.347, allocations: 0 / 1.317 GB, free: 28.06 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/1.347, allocations: 431.1 kB / 1.317 GB, free: 27.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/1.347, allocations: 34.83 kB / 1.317 GB, free: 27.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/1.347, allocations: 10.44 kB / 1.317 GB, free: 27.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/1.348, allocations: 6.594 kB / 1.317 GB, free: 27.85 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/1.348, allocations: 19.62 kB / 1.317 GB, free: 27.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/1.348, allocations: 13.53 kB / 1.317 GB, free: 27.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002583/1.348, allocations: 288.3 kB / 1.318 GB, free: 27.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.348, allocations: 6.781 kB / 1.318 GB, free: 27.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004024/1.348, allocations: 72.62 kB / 1.318 GB, free: 27.7 MB / 1.061 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.0002149/1.348, allocations: 137 kB / 1.318 GB, free: 27.6 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000393/1.349, allocations: 260.7 kB / 1.318 GB, free: 27.53 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/1.349, allocations: 4.188 kB / 1.318 GB, free: 27.53 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/1.349, allocations: 114.4 kB / 1.318 GB, free: 27.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/1.349, allocations: 22.34 kB / 1.318 GB, free: 27.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008672/1.35, allocations: 0.5746 MB / 1.319 GB, free: 27.19 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/1.35, allocations: 0.7611 MB / 1.32 GB, free: 26.49 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001332/1.351, allocations: 44.97 kB / 1.32 GB, free: 26.49 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/1.351, allocations: 30.86 kB / 1.32 GB, free: 26.48 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/1.351, allocations: 0 / 1.32 GB, free: 26.48 MB / 1.061 GB Notification: Performance of Templates: time 0.01164/1.362, allocations: 5.128 MB / 1.325 GB, free: 26.07 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.884535508230329]