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.0008532/0.0008532, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008164/0.0008164, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8862/0.8862, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.734/1.734, allocations: 377.9 MB / 0.6229 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] 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 4.309e-06/4.309e-06, allocations: 4 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.355e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002015/0.002049, allocations: 0.6763 MB / 0.9829 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.004028, allocations: 1.345 MB / 0.9842 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.004102, allocations: 4 kB / 0.9842 GB, free: 52 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.004583, allocations: 199.3 kB / 0.9844 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.004716, allocations: 99.67 kB / 0.9845 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.005457, allocations: 247.4 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005643/0.006022, allocations: 487.8 kB / 0.9852 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.006065, allocations: 0 / 0.9852 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.006407, allocations: 255.6 kB / 0.9854 GB, free: 14.79 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003769/0.006784, allocations: 223.6 kB / 0.9856 GB, free: 14.57 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.876e-05/0.006863, allocations: 20 kB / 0.9857 GB, free: 14.55 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.00711, allocations: 95.84 kB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003945/0.007504, allocations: 283.4 kB / 0.986 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.007665, allocations: 107.8 kB / 0.9861 GB, free: 14.08 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006958/0.008361, allocations: 0.5182 MB / 0.9866 GB, free: 13.56 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.008369, allocations: 11.94 kB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.973e-06/0.008371, allocations: 0 / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.00838, allocations: 0 / 0.9866 GB, free: 13.55 MB / 0.948 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.001041/0.009421, allocations: 0.5747 MB / 0.9872 GB, free: 12.94 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.009462, allocations: 11.97 kB / 0.9872 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.009634, allocations: 32.8 kB / 0.9872 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.01019, allocations: 321.7 kB / 0.9875 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.01022, allocations: 16.38 kB / 0.9876 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.207e-05/0.01029, allocations: 24.36 kB / 0.9876 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/0.01076, allocations: 180.7 kB / 0.9878 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.01077, allocations: 4.125 kB / 0.9878 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.01079, allocations: 384 / 0.9878 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.0108, allocations: 8.375 kB / 0.9878 GB, free: 12.31 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.01098, allocations: 111.9 kB / 0.9879 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.01137, allocations: 271 kB / 0.9881 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.01185, allocations: 307.6 kB / 0.9884 GB, free: 11.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.01203, allocations: 130.5 kB / 0.9886 GB, free: 11.44 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.01204, allocations: 0 / 0.9886 GB, free: 11.44 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/0.01251, allocations: 289.6 kB / 0.9888 GB, free: 11.13 MB / 0.948 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.01251, allocations: 0 / 0.9888 GB, free: 11.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=18): time 0.000865/0.01338, allocations: 0.49 MB / 0.9893 GB, free: 10.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/0.01345, allocations: 118.8 kB / 0.9894 GB, free: 10.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.01391, allocations: 404.4 kB / 0.9898 GB, free: 10.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.01398, allocations: 37.7 kB / 0.9898 GB, free: 10.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.01411, allocations: 152.8 kB / 0.99 GB, free: 9.898 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.01416, allocations: 35.75 kB / 0.99 GB, free: 9.863 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.01433, allocations: 125.5 kB / 0.9901 GB, free: 9.734 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.01447, allocations: 346.8 kB / 0.9905 GB, free: 9.387 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.01459, allocations: 83.95 kB / 0.9906 GB, free: 9.305 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007479/0.01534, allocations: 1.091 MB / 0.9916 GB, free: 7.934 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.01566, allocations: 261.4 kB / 0.9919 GB, free: 7.629 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.01566, allocations: 0 / 0.9919 GB, free: 7.629 MB / 0.948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005309/0.01619, allocations: 325.1 kB / 0.9922 GB, free: 7.305 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.01621, allocations: 8.406 kB / 0.9922 GB, free: 7.297 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.01622, allocations: 8 kB / 0.9922 GB, free: 7.289 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.01624, allocations: 4 kB / 0.9922 GB, free: 7.285 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.01641, allocations: 31.86 kB / 0.9922 GB, free: 7.254 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.01642, allocations: 19.94 kB / 0.9922 GB, free: 7.234 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005779/0.017, allocations: 67.98 kB / 0.9923 GB, free: 7.168 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.01702, allocations: 12 kB / 0.9923 GB, free: 7.156 MB / 0.948 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.0002113/0.01723, allocations: 199.7 kB / 0.9925 GB, free: 6.953 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.01728, allocations: 27.81 kB / 0.9925 GB, free: 6.926 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.17e-05/0.01734, allocations: 33.95 kB / 0.9926 GB, free: 6.891 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01735, allocations: 0 / 0.9926 GB, free: 6.891 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.01736, allocations: 4 kB / 0.9926 GB, free: 6.887 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01736, allocations: 3.938 kB / 0.9926 GB, free: 6.883 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.01759, allocations: 201.2 kB / 0.9928 GB, free: 6.656 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01759, allocations: 0 / 0.9928 GB, free: 6.656 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.01761, allocations: 11.92 kB / 0.9928 GB, free: 6.645 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01761, allocations: 7.938 kB / 0.9928 GB, free: 6.637 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.01763, allocations: 8 kB / 0.9928 GB, free: 6.629 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.01763, allocations: 4 kB / 0.9928 GB, free: 6.625 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01763, allocations: 0 / 0.9928 GB, free: 6.625 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/0.0182, allocations: 437 kB / 0.9932 GB, free: 6.176 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.01825, allocations: 27.8 kB / 0.9932 GB, free: 6.148 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.01829, allocations: 4 kB / 0.9932 GB, free: 6.145 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-05/0.01838, allocations: 4 kB / 0.9933 GB, free: 6.141 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.01844, allocations: 27.84 kB / 0.9933 GB, free: 6.113 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.01846, allocations: 12 kB / 0.9933 GB, free: 6.102 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003193/0.01878, allocations: 291 kB / 0.9936 GB, free: 5.816 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/0.01878, allocations: 4 kB / 0.9936 GB, free: 5.812 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004704/0.01925, allocations: 83.86 kB / 0.9937 GB, free: 5.73 MB / 0.948 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.0002482/0.0195, allocations: 139.7 kB / 0.9938 GB, free: 5.586 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000434/0.01994, allocations: 252.6 kB / 0.994 GB, free: 5.34 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01994, allocations: 0 / 0.994 GB, free: 5.34 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.02017, allocations: 152.1 kB / 0.9942 GB, free: 5.191 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.02049, allocations: 28.73 kB / 0.9942 GB, free: 5.164 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.02157, allocations: 0.6041 MB / 0.9948 GB, free: 4.52 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.02174, allocations: 160.4 kB / 0.9949 GB, free: 4.344 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.02182, allocations: 32.48 kB / 0.995 GB, free: 4.312 MB / 0.948 GB Notification: Performance of SimCode: time 8.51e-07/0.02182, allocations: 0 / 0.995 GB, free: 4.312 MB / 0.948 GB Notification: Performance of Templates: time 0.007421/0.02924, allocations: 4.41 MB / 0.9993 GB, free: 15.97 MB / 0.9636 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] "" 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: 6.977191843092442]