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.001584/0.001584, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001835/0.001835, allocations: 193.9 kB / 16.25 MB, free: 6.629 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.528/1.528, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.882/2.882, allocations: 437 MB / 0.71 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 59.91 kB / 0.8687 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7482/0.7499, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002041/0.752, allocations: 0.7598 MB / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.7536, allocations: 1.327 MB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.7537, allocations: 3.938 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.7541, allocations: 183.7 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.7542, allocations: 103.7 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.7549, allocations: 215.6 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004619/0.7553, allocations: 479.7 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.7554, allocations: 7.984 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.7556, allocations: 203.6 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.7559, allocations: 215.6 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.032e-05/0.756, allocations: 20 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.7561, allocations: 83.94 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.7564, allocations: 259.5 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.7566, allocations: 155.3 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004298/0.757, allocations: 472.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.757, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7571, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.7571, allocations: 0 / 1.021 GB, free: 14.27 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.0009207/0.758, allocations: 0.6424 MB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.758, allocations: 11.98 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.7582, allocations: 32.56 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.7586, allocations: 380.1 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.7586, allocations: 16.38 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.7587, allocations: 24.36 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.759, allocations: 192.6 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.759, allocations: 4.125 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.759, allocations: 3.938 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.7591, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.7592, allocations: 111.9 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.7596, allocations: 387 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/0.7601, allocations: 319.6 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.7603, allocations: 122.6 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.7603, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000441/0.7607, allocations: 286.8 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.7607, allocations: 0 / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0007706/0.7615, allocations: 0.4971 MB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.7616, allocations: 110.8 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.762, allocations: 400.4 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.8e-05/0.762, allocations: 41.7 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.7622, allocations: 156.7 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.7622, allocations: 35.61 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.7624, allocations: 113.6 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7625, allocations: 350.7 kB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.7626, allocations: 91.95 kB / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.7631, allocations: 459 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.7634, allocations: 257.7 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.7634, allocations: 4 kB / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004633/0.7639, allocations: 332.8 kB / 1.026 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7639, allocations: 11.94 kB / 1.026 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.7639, allocations: 4 kB / 1.026 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.7639, allocations: 4.406 kB / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.7641, allocations: 31.92 kB / 1.026 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.7641, allocations: 4 kB / 1.026 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007641/0.7649, allocations: 72.33 kB / 1.026 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.7649, allocations: 16.09 kB / 1.026 GB, free: 8.379 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.0002005/0.7651, allocations: 192.5 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.7652, allocations: 39.55 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.7653, allocations: 33.89 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.7653, allocations: 4 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.7653, allocations: 0 / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7653, allocations: 0 / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.7655, allocations: 285.5 kB / 1.027 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7656, allocations: 0 / 1.027 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/0.7656, allocations: 11.88 kB / 1.027 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.7656, allocations: 0 / 1.027 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.7656, allocations: 11.98 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.7656, allocations: 8 kB / 1.027 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7656, allocations: 0 / 1.027 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005424/0.7662, allocations: 435.6 kB / 1.027 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.7663, allocations: 100.8 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.7663, allocations: 15.86 kB / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.232e-05/0.7664, allocations: 4 kB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.7665, allocations: 19.98 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.7665, allocations: 11.98 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00028/0.7668, allocations: 291 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7668, allocations: 0 / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003713/0.7672, allocations: 75.98 kB / 1.028 GB, free: 6.77 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.0002392/0.7674, allocations: 143.1 kB / 1.028 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000407/0.7678, allocations: 271.5 kB / 1.028 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7678, allocations: 0 / 1.028 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.768, allocations: 139.9 kB / 1.028 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.7683, allocations: 29.33 kB / 1.028 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008806/0.7692, allocations: 0.6089 MB / 1.029 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.7695, allocations: 0.7597 MB / 1.03 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.7697, allocations: 54.16 kB / 1.03 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.427e-05/0.7697, allocations: 27.44 kB / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7697, allocations: 0 / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of Templates: time 0.008762/0.7785, allocations: 4.995 MB / 1.035 GB, free: 15.74 MB / 0.795 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 -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