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.001928/0.001928, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.00238/0.00238, allocations: 161.6 kB / 23.55 MB, free: 0.8945 MB / 18.57 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.488/1.488, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.922/2.922, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.417e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002047/0.002081, allocations: 0.6706 MB / 0.8115 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002334/0.004415, allocations: 1.347 MB / 0.8128 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.004494, allocations: 8.719 kB / 0.8128 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.005077, allocations: 190.6 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.005246, allocations: 105.2 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008601/0.006106, allocations: 233 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006982/0.006805, allocations: 489.4 kB / 0.8138 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.006845, allocations: 0 / 0.8138 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004922/0.007338, allocations: 255.7 kB / 0.814 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.007786, allocations: 217 kB / 0.8142 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.0079, allocations: 20 kB / 0.8143 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.008204, allocations: 104.9 kB / 0.8144 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004608/0.008665, allocations: 279.4 kB / 0.8146 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.008893, allocations: 119.7 kB / 0.8147 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008237/0.009717, allocations: 0.5272 MB / 0.8152 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.00972, allocations: 0 / 0.8152 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.453e-06/0.009721, allocations: 0 / 0.8152 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.009731, allocations: 0 / 0.8152 GB, free: 13.56 MB / 0.7761 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.001277/0.01101, allocations: 0.5648 MB / 0.8158 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.01105, allocations: 8.031 kB / 0.8158 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.01124, allocations: 32.8 kB / 0.8158 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/0.0119, allocations: 334.2 kB / 0.8162 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.01193, allocations: 12.38 kB / 0.8162 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.012, allocations: 21.38 kB / 0.8162 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.01242, allocations: 188.6 kB / 0.8164 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.01242, allocations: 0.7188 kB / 0.8164 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.01245, allocations: 8.359 kB / 0.8164 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.01245, allocations: 1.781 kB / 0.8164 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.01266, allocations: 107.9 kB / 0.8165 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.01316, allocations: 278.8 kB / 0.8167 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.0137, allocations: 314.2 kB / 0.817 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.01392, allocations: 126.6 kB / 0.8172 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.01393, allocations: 0 / 0.8172 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000537/0.01446, allocations: 286.2 kB / 0.8174 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.01447, allocations: 0.7188 kB / 0.8174 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.001094/0.01556, allocations: 0.4936 MB / 0.8179 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.01567, allocations: 123.3 kB / 0.818 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/0.01623, allocations: 402 kB / 0.8184 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.943e-05/0.01632, allocations: 45.69 kB / 0.8185 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.0165, allocations: 148.8 kB / 0.8186 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.968e-05/0.01657, allocations: 43.73 kB / 0.8187 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.01679, allocations: 113.6 kB / 0.8188 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002142/0.017, allocations: 343.3 kB / 0.8191 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.01716, allocations: 84.45 kB / 0.8192 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.01832, allocations: 1.087 MB / 0.8202 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.01871, allocations: 254.6 kB / 0.8205 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.01872, allocations: 4 kB / 0.8205 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006664/0.01939, allocations: 339.8 kB / 0.8208 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.01942, allocations: 11.03 kB / 0.8208 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.01943, allocations: 4 kB / 0.8208 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.235e-05/0.01946, allocations: 4 kB / 0.8208 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.01967, allocations: 27.92 kB / 0.8208 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.01969, allocations: 16.38 kB / 0.8209 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008714/0.02056, allocations: 78.84 kB / 0.8209 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.0206, allocations: 12 kB / 0.8209 GB, free: 7.184 MB / 0.7761 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.000403/0.021, allocations: 197 kB / 0.8211 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.02111, allocations: 35.81 kB / 0.8212 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.02138, allocations: 33.95 kB / 0.8212 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.02139, allocations: 5.266 kB / 0.8212 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.0214, allocations: 0 / 0.8212 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.02141, allocations: 3.938 kB / 0.8212 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.02176, allocations: 209.8 kB / 0.8214 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02176, allocations: 0.5 kB / 0.8214 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.262e-05/0.02179, allocations: 7.984 kB / 0.8214 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.02179, allocations: 3.688 kB / 0.8214 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.02181, allocations: 4 kB / 0.8214 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.02182, allocations: 7.938 kB / 0.8214 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.02182, allocations: 0 / 0.8214 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007007/0.02252, allocations: 442.3 kB / 0.8219 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.02258, allocations: 19.86 kB / 0.8219 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.02262, allocations: 4 kB / 0.8219 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.661e-05/0.02272, allocations: 7.984 kB / 0.8219 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.02278, allocations: 19.92 kB / 0.8219 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.02282, allocations: 15.98 kB / 0.8219 GB, free: 6.129 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003883/0.0232, allocations: 292.6 kB / 0.8222 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.0232, allocations: 3.938 kB / 0.8222 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004509/0.02365, allocations: 79.88 kB / 0.8223 GB, free: 5.762 MB / 0.7761 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.000306/0.02396, allocations: 146.7 kB / 0.8224 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005367/0.0245, allocations: 253.8 kB / 0.8227 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.0245, allocations: 1.094 kB / 0.8227 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.02472, allocations: 115.9 kB / 0.8228 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.02503, allocations: 42.75 kB / 0.8228 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.02617, allocations: 0.5735 MB / 0.8234 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.02636, allocations: 149.2 kB / 0.8235 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001643/0.02652, allocations: 49.09 kB / 0.8236 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/0.02661, allocations: 32.48 kB / 0.8236 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of SimCode: time 7.42e-07/0.02661, allocations: 0.9688 kB / 0.8236 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of Templates: time 0.01304/0.03964, allocations: 5.451 MB / 0.8289 GB, free: 15.03 MB / 0.7917 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 -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: 8.185859908000566]