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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.001501/0.001501, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.57/1.57, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 176] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 76.08 kB / 1.059 GB, free: 376 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4234, allocations: 160.7 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002256/0.4257, allocations: 0.7009 MB / 1.217 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.4278, allocations: 1.355 MB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.049e-05/0.4279, allocations: 4 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005041/0.4284, allocations: 195.5 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.4286, allocations: 95.73 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007958/0.4294, allocations: 235.2 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006797/0.43, allocations: 495.7 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.161e-05/0.4301, allocations: 4 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.4304, allocations: 207.6 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.4307, allocations: 227.5 kB / 1.22 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.936e-05/0.4308, allocations: 20 kB / 1.22 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.431, allocations: 87.94 kB / 1.22 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004069/0.4314, allocations: 279.4 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.4316, allocations: 147.3 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006086/0.4322, allocations: 482.4 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4322, allocations: 0 / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4322, allocations: 0 / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.4322, allocations: 0 / 1.22 GB, free: 10.85 MB / 0.9669 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.001163/0.4333, allocations: 0.6461 MB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4334, allocations: 12.03 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.4335, allocations: 32.8 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005765/0.4341, allocations: 388.3 kB / 1.222 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.4341, allocations: 16.36 kB / 1.222 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.07e-05/0.4342, allocations: 20.38 kB / 1.222 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.4345, allocations: 188.6 kB / 1.222 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4345, allocations: 192 / 1.222 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.4345, allocations: 7.938 kB / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.4346, allocations: 0 / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.4347, allocations: 115.9 kB / 1.222 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.4352, allocations: 391 kB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.4357, allocations: 319.6 kB / 1.223 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.4359, allocations: 122.6 kB / 1.223 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.4359, allocations: 0 / 1.223 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004997/0.4364, allocations: 281.6 kB / 1.223 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.4364, allocations: 0 / 1.223 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.0008695/0.4373, allocations: 0.4934 MB / 1.223 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/0.4374, allocations: 114.8 kB / 1.224 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/0.4379, allocations: 400.5 kB / 1.224 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.4379, allocations: 41.7 kB / 1.224 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.4381, allocations: 160.7 kB / 1.224 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.4381, allocations: 39.75 kB / 1.224 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.4383, allocations: 113.6 kB / 1.224 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.4385, allocations: 346.8 kB / 1.225 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.4386, allocations: 83.89 kB / 1.225 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/0.4392, allocations: 468.5 kB / 1.225 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.4395, allocations: 253.5 kB / 1.225 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4395, allocations: 4 kB / 1.225 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005044/0.44, allocations: 329.2 kB / 1.226 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.44, allocations: 9.812 kB / 1.226 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.44, allocations: 4 kB / 1.226 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.4401, allocations: 8 kB / 1.226 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.4402, allocations: 31.92 kB / 1.226 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.4402, allocations: 4.75 kB / 1.226 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007028/0.4409, allocations: 79.91 kB / 1.226 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.441, allocations: 16 kB / 1.226 GB, free: 4.938 MB / 0.9669 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.000236/0.4412, allocations: 192 kB / 1.226 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.4413, allocations: 31.75 kB / 1.226 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.743e-05/0.4413, allocations: 33.89 kB / 1.226 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4413, allocations: 4 kB / 1.226 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4413, allocations: 0 / 1.226 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4413, allocations: 4 kB / 1.226 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.4416, allocations: 293.4 kB / 1.226 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4417, allocations: 0 / 1.226 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.4417, allocations: 4 kB / 1.226 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.4417, allocations: 3.938 kB / 1.226 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.4417, allocations: 11.98 kB / 1.226 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4417, allocations: 0 / 1.226 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4417, allocations: 4 kB / 1.226 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005939/0.4423, allocations: 434.4 kB / 1.227 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.4424, allocations: 109.1 kB / 1.227 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.4424, allocations: 7.938 kB / 1.227 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.4425, allocations: 4 kB / 1.227 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.4425, allocations: 19.97 kB / 1.227 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.4426, allocations: 19.98 kB / 1.227 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003422/0.4429, allocations: 295 kB / 1.227 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4429, allocations: 0 / 1.227 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003692/0.4433, allocations: 75.94 kB / 1.227 GB, free: 3.324 MB / 0.9669 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.0002762/0.4436, allocations: 143 kB / 1.227 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00045/0.444, allocations: 258.4 kB / 1.228 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.444, allocations: 0 / 1.228 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.4442, allocations: 123.9 kB / 1.228 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.4445, allocations: 24.66 kB / 1.228 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009823/0.4454, allocations: 0.5684 MB / 1.228 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.4459, allocations: 0.7597 MB / 1.229 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.446, allocations: 49.94 kB / 1.229 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.4461, allocations: 27.44 kB / 1.229 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of SimCode: time 7.41e-07/0.4461, allocations: 0 / 1.229 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of Templates: time 0.01001/0.4561, allocations: 5.089 MB / 1.234 GB, free: 12.28 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.880418559536338]