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.00163/0.00163, allocations: 110 kB / 18.93 MB, free: 2.945 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.002277/0.002277, allocations: 184 kB / 22.22 MB, free: 5.16 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.558/1.558, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002049/0.002049, allocations: 63.91 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161/1.163, allocations: 160.8 MB / 1.218 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002203/1.165, allocations: 0.6959 MB / 1.219 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002225/1.168, allocations: 1.361 MB / 1.22 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/1.168, allocations: 5.125 kB / 1.22 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005369/1.168, allocations: 186 kB / 1.221 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001532/1.168, allocations: 98.89 kB / 1.221 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008904/1.169, allocations: 246 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007156/1.17, allocations: 0.4918 MB / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.979e-05/1.17, allocations: 3.156 kB / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003327/1.17, allocations: 201.6 kB / 1.222 GB, free: 1.492 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004595/1.171, allocations: 236.8 kB / 1.222 GB, free: 1.371 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/1.171, allocations: 24.22 kB / 1.222 GB, free: 1.367 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/1.171, allocations: 100.6 kB / 1.222 GB, free: 1.324 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000494/1.172, allocations: 273.9 kB / 1.222 GB, free: 1.164 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002588/1.172, allocations: 151.5 kB / 1.222 GB, free: 1.059 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007127/1.173, allocations: 483.2 kB / 1.223 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.173, allocations: 0 / 1.223 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.395e-06/1.173, allocations: 1.062 kB / 1.223 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.286e-06/1.173, allocations: 0 / 1.223 GB, free: 0.7617 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.001282/1.174, allocations: 0.6513 MB / 1.224 GB, free: 192 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/1.174, allocations: 9.875 kB / 1.224 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/1.174, allocations: 29.89 kB / 1.224 GB, free: 180 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007357/1.175, allocations: 384.4 kB / 1.224 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/1.175, allocations: 13.5 kB / 1.224 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.044e-05/1.175, allocations: 27.92 kB / 1.224 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/1.175, allocations: 188.6 kB / 1.224 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.175, allocations: 5.562 kB / 1.224 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/1.175, allocations: 3.938 kB / 1.224 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/1.175, allocations: 2.125 kB / 1.224 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/1.176, allocations: 114.1 kB / 1.224 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/1.176, allocations: 379.1 kB / 1.225 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/1.177, allocations: 322.9 kB / 1.225 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/1.177, allocations: 124.2 kB / 1.225 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/1.177, allocations: 0 / 1.225 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000513/1.177, allocations: 284.9 kB / 1.225 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/1.177, allocations: 0 / 1.225 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0008928/1.178, allocations: 0.4926 MB / 1.226 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.969e-05/1.178, allocations: 112.1 kB / 1.226 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005068/1.179, allocations: 406.3 kB / 1.226 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/1.179, allocations: 36.02 kB / 1.226 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/1.179, allocations: 159.1 kB / 1.226 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.371e-05/1.179, allocations: 38.95 kB / 1.227 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/1.179, allocations: 116.9 kB / 1.227 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001935/1.18, allocations: 344.9 kB / 1.227 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/1.18, allocations: 82.27 kB / 1.227 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/1.18, allocations: 471.2 kB / 1.227 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/1.181, allocations: 254 kB / 1.228 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.181, allocations: 1.125 kB / 1.228 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005723/1.181, allocations: 329.1 kB / 1.228 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.181, allocations: 10.59 kB / 1.228 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/1.181, allocations: 3.375 kB / 1.228 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/1.181, allocations: 5.812 kB / 1.228 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/1.182, allocations: 35.92 kB / 1.228 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/1.182, allocations: 5.781 kB / 1.228 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007074/1.182, allocations: 76.25 kB / 1.228 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/1.182, allocations: 17.64 kB / 1.228 GB, free: 12.81 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.0002499/1.183, allocations: 199.3 kB / 1.228 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/1.183, allocations: 33 kB / 1.228 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/1.183, allocations: 32.8 kB / 1.228 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.183, allocations: 6.656 kB / 1.228 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.183, allocations: 1.094 kB / 1.228 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.183, allocations: 1.188 kB / 1.228 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/1.183, allocations: 283.8 kB / 1.229 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.183, allocations: 4 kB / 1.229 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/1.183, allocations: 3.938 kB / 1.229 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/1.183, allocations: 8.172 kB / 1.229 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/1.183, allocations: 7.984 kB / 1.229 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/1.183, allocations: 3.984 kB / 1.229 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.183, allocations: 4.062 kB / 1.229 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005953/1.184, allocations: 442.3 kB / 1.229 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.129e-05/1.184, allocations: 101 kB / 1.229 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/1.184, allocations: 11.92 kB / 1.229 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.74e-05/1.184, allocations: 4 kB / 1.229 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/1.184, allocations: 23.91 kB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/1.184, allocations: 12 kB / 1.229 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003281/1.184, allocations: 291 kB / 1.23 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/1.184, allocations: 0 / 1.23 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004409/1.185, allocations: 75.94 kB / 1.23 GB, free: 11.29 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.0002321/1.185, allocations: 143.7 kB / 1.23 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004538/1.185, allocations: 256.1 kB / 1.23 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.185, allocations: 4 kB / 1.23 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/1.186, allocations: 115.9 kB / 1.23 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/1.186, allocations: 24.64 kB / 1.23 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009917/1.187, allocations: 0.5707 MB / 1.231 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/1.187, allocations: 0.7639 MB / 1.231 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001352/1.187, allocations: 47.44 kB / 1.232 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/1.188, allocations: 31.42 kB / 1.232 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/1.188, allocations: 4 kB / 1.232 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of Templates: time 0.01041/1.198, allocations: 5.11 MB / 1.237 GB, free: 4.207 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.863990216515958]