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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 104.9 kB / 16.4 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002027, allocations: 194.1 kB / 17.33 MB, free: 5.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.823/2.823, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 68.08 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167/1.169, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002166/1.171, allocations: 0.6805 MB / 1.168 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002148/1.174, allocations: 1.356 MB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/1.174, allocations: 0 / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005319/1.174, allocations: 187.6 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001372/1.174, allocations: 107.7 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008089/1.175, allocations: 231.1 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006004/1.176, allocations: 499.7 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.375e-05/1.176, allocations: 7.984 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/1.176, allocations: 199.7 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/1.176, allocations: 207.5 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.956e-05/1.177, allocations: 20 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/1.177, allocations: 87.92 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000364/1.177, allocations: 255.5 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/1.177, allocations: 147.3 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005882/1.178, allocations: 479 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.178, allocations: 0 / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.873e-06/1.178, allocations: 0 / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.935e-06/1.178, allocations: 0 / 1.172 GB, free: 15.45 MB / 0.9044 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.001237/1.179, allocations: 0.6499 MB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.179, allocations: 16.58 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/1.179, allocations: 32.8 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/1.18, allocations: 396.2 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/1.18, allocations: 12.38 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/1.18, allocations: 16.38 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/1.181, allocations: 188.7 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.181, allocations: 192 / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/1.181, allocations: 11.92 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.181, allocations: 0 / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/1.181, allocations: 115.9 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/1.181, allocations: 383.1 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/1.182, allocations: 315.6 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/1.182, allocations: 130.6 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/1.182, allocations: 7.922 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004994/1.183, allocations: 281.6 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/1.183, allocations: 0 / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0009408/1.184, allocations: 0.4974 MB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.972e-05/1.184, allocations: 118.8 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/1.184, allocations: 396.5 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.919e-05/1.184, allocations: 37.7 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/1.184, allocations: 152.8 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/1.185, allocations: 43.73 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/1.185, allocations: 113.6 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002848/1.185, allocations: 350.8 kB / 1.176 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/1.185, allocations: 79.95 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007725/1.186, allocations: 467.5 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/1.186, allocations: 261.4 kB / 1.177 GB, free: 10 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/1.187, allocations: 4 kB / 1.177 GB, free: 10 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006388/1.187, allocations: 329.3 kB / 1.177 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/1.187, allocations: 7.938 kB / 1.177 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.187, allocations: 4 kB / 1.177 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.424e-05/1.187, allocations: 4 kB / 1.177 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/1.188, allocations: 31.92 kB / 1.177 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/1.188, allocations: 11.92 kB / 1.177 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007768/1.188, allocations: 68.33 kB / 1.177 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/1.188, allocations: 20 kB / 1.177 GB, free: 9.527 MB / 0.9044 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.000328/1.189, allocations: 191.9 kB / 1.177 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/1.189, allocations: 31.75 kB / 1.177 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.585e-05/1.189, allocations: 38.02 kB / 1.177 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.189, allocations: 4 kB / 1.177 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.189, allocations: 4 kB / 1.177 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/1.189, allocations: 4 kB / 1.177 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/1.189, allocations: 281.5 kB / 1.177 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.189, allocations: 0 / 1.177 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-05/1.189, allocations: 11.98 kB / 1.178 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/1.189, allocations: 3.938 kB / 1.178 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/1.189, allocations: 4 kB / 1.178 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.189, allocations: 3.938 kB / 1.178 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.189, allocations: 4 kB / 1.178 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000758/1.19, allocations: 433.2 kB / 1.178 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/1.19, allocations: 104.9 kB / 1.178 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/1.19, allocations: 11.94 kB / 1.178 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/1.191, allocations: 0 / 1.178 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/1.191, allocations: 19.97 kB / 1.178 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/1.191, allocations: 16 kB / 1.178 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003816/1.191, allocations: 287 kB / 1.178 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/1.191, allocations: 0 / 1.178 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004315/1.191, allocations: 87.86 kB / 1.178 GB, free: 7.922 MB / 0.9044 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.0003114/1.192, allocations: 136.2 kB / 1.179 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005153/1.192, allocations: 260.4 kB / 1.179 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.192, allocations: 0 / 1.179 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002505/1.193, allocations: 155.9 kB / 1.179 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/1.193, allocations: 26.14 kB / 1.179 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/1.194, allocations: 0.5722 MB / 1.18 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/1.194, allocations: 0.7597 MB / 1.18 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001215/1.195, allocations: 51.19 kB / 1.18 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/1.195, allocations: 31.42 kB / 1.18 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of SimCode: time 4.81e-07/1.195, allocations: 0 / 1.18 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of Templates: time 0.01124/1.206, allocations: 5.034 MB / 1.185 GB, free: 0.8828 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches