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.001416/0.001416, allocations: 81.23 kB / 19.18 MB, free: 2.516 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.001759/0.001759, allocations: 162.4 kB / 22.46 MB, free: 5.375 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.525/1.525, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 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.999/2.999, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 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.705e-06/2.705e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/3.029e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001691/0.001721, allocations: 0.6647 MB / 0.9821 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.003606, allocations: 1.357 MB / 0.9834 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.003662, allocations: 4 kB / 0.9834 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000482/0.004144, allocations: 191.4 kB / 0.9836 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.004295, allocations: 103.6 kB / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007513/0.005046, allocations: 247.3 kB / 0.9839 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000608/0.005654, allocations: 491.8 kB / 0.9844 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.005696, allocations: 4 kB / 0.9844 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.005995, allocations: 247.7 kB / 0.9846 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.006342, allocations: 215.6 kB / 0.9849 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.371e-05/0.006436, allocations: 20 kB / 0.9849 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.006687, allocations: 99.84 kB / 0.985 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004085/0.007095, allocations: 287.4 kB / 0.9852 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.007279, allocations: 115.7 kB / 0.9853 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006697/0.007949, allocations: 0.526 MB / 0.9859 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.007953, allocations: 4 kB / 0.9859 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.72e-07/0.007954, allocations: 0 / 0.9859 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.007964, allocations: 0 / 0.9859 GB, free: 7.426 MB / 0.9356 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.00102/0.008984, allocations: 0.5669 MB / 0.9864 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.009018, allocations: 8.031 kB / 0.9864 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.009147, allocations: 40.73 kB / 0.9865 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005439/0.009691, allocations: 325.7 kB / 0.9868 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.009709, allocations: 12.38 kB / 0.9868 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/0.009785, allocations: 20.38 kB / 0.9868 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.01011, allocations: 184.7 kB / 0.987 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.01011, allocations: 192 / 0.987 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.01013, allocations: 4.375 kB / 0.987 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.01014, allocations: 384 / 0.987 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.01032, allocations: 111.8 kB / 0.9871 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.01071, allocations: 278.9 kB / 0.9874 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.0112, allocations: 315.6 kB / 0.9877 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.01138, allocations: 126.6 kB / 0.9878 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.01139, allocations: 3.938 kB / 0.9878 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000452/0.01184, allocations: 273.7 kB / 0.988 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.734e-06/0.01184, allocations: 4 kB / 0.9881 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0008991/0.01274, allocations: 0.4935 MB / 0.9885 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.213e-05/0.01283, allocations: 118.8 kB / 0.9886 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004784/0.0133, allocations: 404.4 kB / 0.989 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/0.01338, allocations: 41.69 kB / 0.9891 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.01354, allocations: 152.8 kB / 0.9892 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.01358, allocations: 35.73 kB / 0.9893 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.01376, allocations: 121.5 kB / 0.9894 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.01393, allocations: 350.8 kB / 0.9897 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.01406, allocations: 83.95 kB / 0.9898 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000937/0.015, allocations: 1.087 MB / 0.9908 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.01535, allocations: 257.4 kB / 0.9911 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.01536, allocations: 4 kB / 0.9911 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005308/0.01589, allocations: 325.1 kB / 0.9914 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.01591, allocations: 4 kB / 0.9914 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.01592, allocations: 4 kB / 0.9914 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.01594, allocations: 4.125 kB / 0.9914 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.01612, allocations: 40.33 kB / 0.9915 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.01613, allocations: 11.88 kB / 0.9915 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007843/0.01692, allocations: 78.39 kB / 0.9915 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.01694, allocations: 12 kB / 0.9916 GB, free: 1.039 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.000232/0.01717, allocations: 195.7 kB / 0.9917 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.01722, allocations: 27.81 kB / 0.9918 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.01728, allocations: 41.89 kB / 0.9918 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.01729, allocations: 4 kB / 0.9918 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.01729, allocations: 0 / 0.9918 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.0173, allocations: 3.938 kB / 0.9918 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.01756, allocations: 201.2 kB / 0.992 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01756, allocations: 0 / 0.992 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.01758, allocations: 4 kB / 0.992 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.01758, allocations: 4 kB / 0.992 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.0176, allocations: 11.98 kB / 0.992 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.01761, allocations: 3.938 kB / 0.992 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01761, allocations: 0 / 0.992 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006269/0.01824, allocations: 434.4 kB / 0.9924 GB, free: 64 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.01828, allocations: 31.8 kB / 0.9925 GB, free: 32 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.01832, allocations: 0 / 0.9925 GB, free: 32 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.01842, allocations: 12 kB / 0.9925 GB, free: 20 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.01848, allocations: 19.91 kB / 0.9925 GB, free: 0 / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.01853, allocations: 12.05 kB / 0.9925 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003357/0.01886, allocations: 291 kB / 0.9928 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.01886, allocations: 0 / 0.9928 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000397/0.01926, allocations: 83.86 kB / 0.9929 GB, free: 15.62 MB / 0.9512 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.0002704/0.01953, allocations: 151 kB / 0.993 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004574/0.01999, allocations: 247.7 kB / 0.9933 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01999, allocations: 0 / 0.9933 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.02018, allocations: 124 kB / 0.9934 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.02046, allocations: 32.41 kB / 0.9934 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00092/0.02138, allocations: 0.5634 MB / 0.994 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.02154, allocations: 157.2 kB / 0.9941 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000109/0.02165, allocations: 49.55 kB / 0.9941 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.02173, allocations: 36.48 kB / 0.9942 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/0.02173, allocations: 0 / 0.9942 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of Templates: time 0.01018/0.03191, allocations: 5.411 MB / 0.9995 GB, free: 8.91 MB / 0.9512 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.687012407928705]