Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002749/0.002749, allocations: 213.9 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.64/1.64, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.073/3.073, allocations: 475.9 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 65.47 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.421, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002246/0.4232, allocations: 0.6787 MB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002324/0.4255, allocations: 1.348 MB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.4256, allocations: 0 / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005651/0.4262, allocations: 187.5 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.4263, allocations: 99.73 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008305/0.4271, allocations: 242.5 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006335/0.4278, allocations: 495.7 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.426e-05/0.4278, allocations: 4 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.4281, allocations: 199.7 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.4285, allocations: 227.6 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.43e-05/0.4286, allocations: 24 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.4289, allocations: 99.84 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005097/0.4294, allocations: 271.4 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.4296, allocations: 131.4 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006217/0.4302, allocations: 482.4 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4302, allocations: 4 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4302, allocations: 0 / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.4302, allocations: 3.938 kB / 1.287 GB, free: 7.457 MB / 0.9825 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.001168/0.4314, allocations: 0.5708 MB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.4314, allocations: 12.03 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.4315, allocations: 32.75 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006091/0.4322, allocations: 330.4 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.4322, allocations: 12.38 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.4322, allocations: 20.38 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.4326, allocations: 192.7 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.4326, allocations: 192 / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.4326, allocations: 3.938 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.4326, allocations: 4 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.4328, allocations: 111.9 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.4332, allocations: 274.9 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.4337, allocations: 311.6 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.4339, allocations: 126.6 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.4339, allocations: 4 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005098/0.4344, allocations: 277.6 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.4345, allocations: 0 / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.000919/0.4354, allocations: 0.5011 MB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/0.4355, allocations: 114.8 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/0.436, allocations: 400.5 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.874e-05/0.436, allocations: 33.7 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.4363, allocations: 160.7 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.4363, allocations: 39.78 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.4366, allocations: 113.6 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002188/0.4368, allocations: 346.8 kB / 1.291 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.437, allocations: 87.95 kB / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.438, allocations: 1.085 MB / 1.292 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.4383, allocations: 257.4 kB / 1.293 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4383, allocations: 0 / 1.293 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005477/0.4389, allocations: 337.3 kB / 1.293 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4389, allocations: 8 kB / 1.293 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.4389, allocations: 3.938 kB / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.4389, allocations: 11.94 kB / 1.293 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.4391, allocations: 27.92 kB / 1.293 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.4391, allocations: 4 kB / 1.293 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007217/0.4398, allocations: 74.56 kB / 1.293 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.4399, allocations: 12.08 kB / 1.293 GB, free: 1.07 MB / 0.9825 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.0002402/0.4401, allocations: 191.8 kB / 1.293 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.4402, allocations: 31.8 kB / 1.293 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.337e-05/0.4402, allocations: 38.06 kB / 1.293 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4402, allocations: 4 kB / 1.293 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.4402, allocations: 3.984 kB / 1.293 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.4403, allocations: 0 / 1.293 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.4405, allocations: 205.2 kB / 1.294 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4405, allocations: 11.94 kB / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/0.4405, allocations: 0 / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4405, allocations: 4 kB / 1.294 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.4406, allocations: 12.11 kB / 1.294 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.4406, allocations: 7.938 kB / 1.294 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4406, allocations: 0 / 1.294 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006966/0.4413, allocations: 434.4 kB / 1.294 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.4413, allocations: 31.78 kB / 1.294 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.4414, allocations: 0 / 1.294 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.4415, allocations: 11.94 kB / 1.294 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.4415, allocations: 19.97 kB / 1.294 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.4416, allocations: 12 kB / 1.294 GB, free: 12 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003659/0.4419, allocations: 291 kB / 1.294 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4419, allocations: 0 / 1.294 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003967/0.4423, allocations: 75.92 kB / 1.294 GB, free: 15.65 MB / 0.9981 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.0002701/0.4426, allocations: 143 kB / 1.295 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004782/0.4431, allocations: 248.4 kB / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.4431, allocations: 4 kB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.4433, allocations: 123.9 kB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.4436, allocations: 26.89 kB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.4446, allocations: 0.5673 MB / 1.295 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.4448, allocations: 149.2 kB / 1.296 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.4449, allocations: 50 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.445, allocations: 35.36 kB / 1.296 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.445, allocations: 4 kB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of Templates: time 0.01139/0.4564, allocations: 5.631 MB / 1.301 GB, free: 8.723 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.992119167000055]