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.001291/0.001291, allocations: 113.1 kB / 17.08 MB, free: 6 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.00129/0.001291, allocations: 194.2 kB / 20.03 MB, free: 3.074 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.502/1.502, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.694/2.694, allocations: 437.1 MB / 0.7177 GB, free: 4.535 MB / 0.5606 GB " [Timeout remaining time 177] 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.001955/0.001955, allocations: 71.88 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2944, allocations: 151.6 MB / 1.176 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001845/0.2963, allocations: 0.6858 MB / 1.177 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.2982, allocations: 1.347 MB / 1.178 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.2983, allocations: 4 kB / 1.178 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004796/0.2987, allocations: 187.5 kB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.2989, allocations: 107.7 kB / 1.178 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.2996, allocations: 222.8 kB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006148/0.3002, allocations: 495.7 kB / 1.179 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.3003, allocations: 15.97 kB / 1.179 GB, free: 2.828 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.3005, allocations: 203.7 kB / 1.179 GB, free: 2.629 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003361/0.3009, allocations: 211.5 kB / 1.179 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.081e-05/0.301, allocations: 20 kB / 1.179 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.3012, allocations: 83.94 kB / 1.179 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003775/0.3016, allocations: 255.5 kB / 1.18 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.3018, allocations: 155.3 kB / 1.18 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005684/0.3023, allocations: 474.5 kB / 1.18 GB, free: 1.453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3024, allocations: 0 / 1.18 GB, free: 1.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.857e-06/0.3024, allocations: 0 / 1.18 GB, free: 1.453 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.3024, allocations: 3.938 kB / 1.18 GB, free: 1.449 MB / 0.92 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.001167/0.3036, allocations: 0.65 MB / 1.181 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3036, allocations: 11.98 kB / 1.181 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.3037, allocations: 32.8 kB / 1.181 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.3043, allocations: 380.4 kB / 1.181 GB, free: 304 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.3043, allocations: 16.38 kB / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.616e-05/0.3044, allocations: 24.36 kB / 1.181 GB, free: 264 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.3047, allocations: 184.6 kB / 1.181 GB, free: 64 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3047, allocations: 8.062 kB / 1.181 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.3047, allocations: 7.938 kB / 1.181 GB, free: 48 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3047, allocations: 0 / 1.181 GB, free: 48 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.3049, allocations: 111.9 kB / 1.182 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.3054, allocations: 387.1 kB / 1.182 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.3059, allocations: 319.6 kB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.3061, allocations: 130.5 kB / 1.182 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.3061, allocations: 0 / 1.182 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005096/0.3066, allocations: 287.2 kB / 1.183 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.3066, allocations: 0 / 1.183 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0008571/0.3075, allocations: 0.4978 MB / 1.183 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/0.3076, allocations: 110.8 kB / 1.183 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.3081, allocations: 400.5 kB / 1.184 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.3081, allocations: 41.7 kB / 1.184 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.3083, allocations: 156.8 kB / 1.184 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.3083, allocations: 39.75 kB / 1.184 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.3085, allocations: 113.6 kB / 1.184 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3087, allocations: 342.8 kB / 1.184 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.3088, allocations: 87.94 kB / 1.184 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005645/0.3094, allocations: 467.8 kB / 1.185 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.3098, allocations: 265.4 kB / 1.185 GB, free: 12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3098, allocations: 0 / 1.185 GB, free: 12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005357/0.3103, allocations: 325.3 kB / 1.185 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3103, allocations: 11.94 kB / 1.185 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3104, allocations: 4 kB / 1.185 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.3104, allocations: 7.938 kB / 1.185 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.3105, allocations: 31.92 kB / 1.185 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.3106, allocations: 7.938 kB / 1.185 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/0.3113, allocations: 72.38 kB / 1.185 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.3113, allocations: 19.98 kB / 1.186 GB, free: 11.53 MB / 0.9356 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.0002107/0.3116, allocations: 192 kB / 1.186 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.3116, allocations: 35.73 kB / 1.186 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.424e-05/0.3117, allocations: 33.89 kB / 1.186 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3117, allocations: 4 kB / 1.186 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3117, allocations: 0 / 1.186 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3117, allocations: 4 kB / 1.186 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.312, allocations: 285.5 kB / 1.186 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.312, allocations: 0 / 1.186 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.312, allocations: 4 kB / 1.186 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.312, allocations: 7.875 kB / 1.186 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.3121, allocations: 7.984 kB / 1.186 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.3121, allocations: 4 kB / 1.186 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3121, allocations: 0 / 1.186 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005796/0.3127, allocations: 436.6 kB / 1.186 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.3128, allocations: 104.9 kB / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.3128, allocations: 11.86 kB / 1.187 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.24e-05/0.3129, allocations: 8 kB / 1.187 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.313, allocations: 15.98 kB / 1.187 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.313, allocations: 19.86 kB / 1.187 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000318/0.3133, allocations: 291 kB / 1.187 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3133, allocations: 0 / 1.187 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003708/0.3137, allocations: 75.94 kB / 1.187 GB, free: 9.922 MB / 0.9356 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.0002376/0.314, allocations: 144 kB / 1.187 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004474/0.3144, allocations: 255.7 kB / 1.187 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3144, allocations: 0.8125 kB / 1.187 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.3147, allocations: 179.8 kB / 1.188 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.315, allocations: 24.64 kB / 1.188 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009244/0.3159, allocations: 0.6012 MB / 1.188 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.3163, allocations: 0.7636 MB / 1.189 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.3164, allocations: 35.42 kB / 1.189 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.3164, allocations: 0 / 1.189 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of Templates: time 0.007051/0.3235, allocations: 4.33 MB / 1.193 GB, free: 3.594 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" Variables in the reference:time,intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1] Variables in the result:intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1],time [Calling sys.exit(0), Time elapsed: 10.913564729969949]