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.001874/0.001874, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002263/0.002263, allocations: 196.5 kB / 16.14 MB, free: 6.711 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.649/1.649, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.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.97/2.97, allocations: 437 MB / 0.7099 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.89 kB / 0.8686 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8673/0.8693, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002713/0.8721, allocations: 0.7507 MB / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002313/0.8745, allocations: 1.342 MB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.8746, allocations: 3.938 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0005628/0.8751, allocations: 183.7 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.8753, allocations: 103.7 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007199/0.8761, allocations: 211.3 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000562/0.8767, allocations: 439.7 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.042e-05/0.8767, allocations: 11.97 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.877, allocations: 183.7 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.8773, allocations: 203.6 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.763e-05/0.8774, allocations: 8 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.8777, allocations: 75.94 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003577/0.878, allocations: 243.5 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.8782, allocations: 135.3 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005543/0.8788, allocations: 464.7 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8788, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.155e-06/0.8788, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.8788, allocations: 3.938 kB / 1.021 GB, free: 14.52 MB / 0.7794 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.001176/0.88, allocations: 0.6385 MB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.8801, allocations: 15.98 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.8802, allocations: 28.66 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/0.8808, allocations: 380.1 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.8809, allocations: 16.36 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-05/0.8809, allocations: 20.38 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.8813, allocations: 188.6 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.8813, allocations: 4.188 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.8814, allocations: 7.938 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.8814, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.8816, allocations: 115.9 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.8821, allocations: 387 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005182/0.8826, allocations: 323.6 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.8829, allocations: 118.6 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.8829, allocations: 4 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005386/0.8834, allocations: 281.6 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.8834, allocations: 4 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0009311/0.8844, allocations: 0.5009 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.8845, allocations: 114.8 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.885, allocations: 400.5 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.8851, allocations: 41.7 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.8852, allocations: 152.7 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.8853, allocations: 47.44 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.8855, allocations: 113.6 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.8857, allocations: 346.8 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.8858, allocations: 87.89 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/0.8865, allocations: 459 kB / 1.025 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.8868, allocations: 253.5 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.8868, allocations: 0 / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005722/0.8874, allocations: 332.9 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.8875, allocations: 5.875 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.8875, allocations: 7.938 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.8875, allocations: 4 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.8877, allocations: 31.92 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.8877, allocations: 4 kB / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000783/0.8885, allocations: 80.84 kB / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.8885, allocations: 12 kB / 1.026 GB, free: 8.625 MB / 0.7794 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.000293/0.8888, allocations: 192 kB / 1.026 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.8889, allocations: 31.56 kB / 1.026 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.15e-05/0.889, allocations: 37.89 kB / 1.026 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.889, allocations: 0 / 1.026 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.889, allocations: 4 kB / 1.026 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.889, allocations: 0 / 1.026 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.8894, allocations: 285.5 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8894, allocations: 3.938 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.8894, allocations: 11.88 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8894, allocations: 0 / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.8895, allocations: 12.22 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.8895, allocations: 0 / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.8895, allocations: 4 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.8901, allocations: 434.2 kB / 1.027 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.8903, allocations: 104.7 kB / 1.027 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.8903, allocations: 11.98 kB / 1.027 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.8904, allocations: 3.938 kB / 1.027 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.8905, allocations: 15.98 kB / 1.027 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.8905, allocations: 19.98 kB / 1.027 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003596/0.8909, allocations: 291 kB / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8909, allocations: 0 / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004118/0.8913, allocations: 76 kB / 1.028 GB, free: 7.016 MB / 0.7794 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.0002628/0.8916, allocations: 139.7 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004682/0.892, allocations: 257.1 kB / 1.028 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8921, allocations: 4 kB / 1.028 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.8923, allocations: 143.9 kB / 1.028 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.8926, allocations: 25.8 kB / 1.028 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.8937, allocations: 0.6138 MB / 1.029 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.8941, allocations: 0.7638 MB / 1.03 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.8943, allocations: 54.19 kB / 1.03 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.8944, allocations: 23.44 kB / 1.03 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.8944, allocations: 3.938 kB / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of Templates: time 0.01115/0.9056, allocations: 4.815 MB / 1.034 GB, free: 176 kB / 0.7794 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=400 -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/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) Reference file matches