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.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.001759/0.001759, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002023/0.002023, allocations: 210.8 kB / 22.99 MB, free: 4.984 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.592/1.592, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.3/3.3, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_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: 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.002106/0.002106, allocations: 73.84 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4171, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002062/0.4191, allocations: 0.6719 MB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002041/0.4212, allocations: 1.354 MB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.558e-05/0.4212, allocations: 4 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005244/0.4218, allocations: 191.5 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.4219, allocations: 99.72 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007368/0.4226, allocations: 245.9 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000536/0.4232, allocations: 479.8 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.4232, allocations: 11.94 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.4235, allocations: 203.7 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.4238, allocations: 231.6 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.378e-05/0.4239, allocations: 20 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.4241, allocations: 99.91 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.4245, allocations: 275.4 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.4247, allocations: 135.4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005381/0.4252, allocations: 478.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4252, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4252, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.4252, allocations: 4 kB / 1.331 GB, free: 12.54 MB / 1.029 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.00107/0.4263, allocations: 0.567 MB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.4263, allocations: 8.031 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.4265, allocations: 40.75 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/0.4271, allocations: 326.5 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.4272, allocations: 12.38 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.4272, allocations: 24.31 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.4276, allocations: 184.7 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4276, allocations: 192 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.4276, allocations: 11.94 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4276, allocations: 0 / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.4278, allocations: 115.9 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.4282, allocations: 270.9 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/0.4287, allocations: 311.6 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.4289, allocations: 122.6 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.507e-06/0.4289, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005229/0.4294, allocations: 291.3 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.4294, allocations: 4 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008997/0.4303, allocations: 0.4933 MB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.4304, allocations: 118.7 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004836/0.4309, allocations: 396.5 kB / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.219e-05/0.431, allocations: 45.69 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.4311, allocations: 152.7 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.4312, allocations: 35.78 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.4314, allocations: 121.6 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4316, allocations: 342.8 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.4317, allocations: 79.95 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000911/0.4326, allocations: 1.087 MB / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.4329, allocations: 257.4 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4329, allocations: 4 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005448/0.4335, allocations: 337.5 kB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4335, allocations: 4 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.4335, allocations: 4 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.4335, allocations: 7.938 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.4337, allocations: 36.03 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4337, allocations: 4 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000847/0.4346, allocations: 80.34 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.4346, allocations: 16.16 kB / 1.337 GB, free: 6.137 MB / 1.029 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.0002518/0.4348, allocations: 198 kB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.4349, allocations: 27.81 kB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.398e-05/0.435, allocations: 41.83 kB / 1.337 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.435, allocations: 4 kB / 1.337 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.435, allocations: 0 / 1.337 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.435, allocations: 0 / 1.337 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.4352, allocations: 201.2 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4352, allocations: 4 kB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.4353, allocations: 11.98 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.4353, allocations: 4 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.4353, allocations: 4 kB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4353, allocations: 3.938 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4353, allocations: 0 / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006156/0.4359, allocations: 432.5 kB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.436, allocations: 35.78 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.436, allocations: 0 / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.424e-05/0.4361, allocations: 11.94 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.4362, allocations: 15.97 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.4362, allocations: 20 kB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003173/0.4365, allocations: 287 kB / 1.338 GB, free: 4.809 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4365, allocations: 0 / 1.338 GB, free: 4.809 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004081/0.4369, allocations: 79.92 kB / 1.338 GB, free: 4.73 MB / 1.029 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.0002521/0.4372, allocations: 143 kB / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004468/0.4376, allocations: 264.2 kB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4376, allocations: 0 / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.4378, allocations: 119.9 kB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.4381, allocations: 25.95 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000938/0.439, allocations: 0.5764 MB / 1.34 GB, free: 3.566 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.4392, allocations: 149.2 kB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.4393, allocations: 50.31 kB / 1.34 GB, free: 3.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.228e-05/0.4394, allocations: 31.42 kB / 1.34 GB, free: 3.324 MB / 1.029 GB Notification: Performance of SimCode: time 4.2e-07/0.4394, allocations: 0 / 1.34 GB, free: 3.324 MB / 1.029 GB Notification: Performance of Templates: time 0.01066/0.4501, allocations: 5.632 MB / 1.345 GB, free: 13.79 MB / 1.045 GB " [Timeout remaining time 300] 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 -s cvode -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/jenkins1/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: 9.650751766006579]