Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001185/0.001185, 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.001433/0.001433, allocations: 190 kB / 16.14 MB, free: 6.719 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.445/2.445, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.8033, allocations: 140.4 MB / 0.949 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002134/0.8055, allocations: 0.7382 MB / 0.9497 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.8075, allocations: 1.339 MB / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.8076, allocations: 5.312 kB / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.8082, allocations: 182.4 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.8083, allocations: 99.72 kB / 0.9513 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.809, allocations: 214.6 kB / 0.9515 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005105/0.8096, allocations: 435.5 kB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.808e-05/0.8096, allocations: 13.09 kB / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.8099, allocations: 189.5 kB / 0.9521 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.8102, allocations: 199.2 kB / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.607e-05/0.8103, allocations: 14.67 kB / 0.9523 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.8105, allocations: 66.7 kB / 0.9523 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003117/0.8109, allocations: 241.1 kB / 0.9526 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.811, allocations: 140.2 kB / 0.9527 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.8115, allocations: 465.5 kB / 0.9531 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8115, allocations: 0 / 0.9531 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8115, allocations: 4 kB / 0.9531 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8115, allocations: 1.094 kB / 0.9531 GB, free: 6.301 MB / 0.7169 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.0009615/0.8125, allocations: 0.6316 MB / 0.9538 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.8126, allocations: 9.406 kB / 0.9538 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.8127, allocations: 33.47 kB / 0.9538 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005414/0.8133, allocations: 388.8 kB / 0.9542 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.8133, allocations: 13.28 kB / 0.9542 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/0.8134, allocations: 24.09 kB / 0.9542 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.8137, allocations: 189.1 kB / 0.9544 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.8138, allocations: 0 / 0.9544 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.8138, allocations: 5.391 kB / 0.9544 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.8138, allocations: 1.375 kB / 0.9544 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.814, allocations: 110.3 kB / 0.9545 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.8144, allocations: 389.9 kB / 0.9549 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/0.8149, allocations: 321 kB / 0.9552 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.8151, allocations: 125.2 kB / 0.9553 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.8152, allocations: 5.438 kB / 0.9553 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005192/0.8157, allocations: 278.1 kB / 0.9556 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.492e-06/0.8157, allocations: 4 kB / 0.9556 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0009004/0.8166, allocations: 0.4962 MB / 0.9561 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.8167, allocations: 116.1 kB / 0.9562 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.8171, allocations: 398.4 kB / 0.9566 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.8171, allocations: 36.58 kB / 0.9566 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.8173, allocations: 163.9 kB / 0.9567 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.8173, allocations: 34.47 kB / 0.9568 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.8175, allocations: 116.2 kB / 0.9569 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.8176, allocations: 349.1 kB / 0.9572 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.8177, allocations: 82.73 kB / 0.9573 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.8182, allocations: 474.1 kB / 0.9578 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.8186, allocations: 254.2 kB / 0.958 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.8186, allocations: 1.094 kB / 0.958 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005084/0.8191, allocations: 329.6 kB / 0.9583 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.8191, allocations: 6.156 kB / 0.9583 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.8191, allocations: 7.562 kB / 0.9583 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.8192, allocations: 5.219 kB / 0.9583 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.8193, allocations: 32.08 kB / 0.9584 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.8194, allocations: 13.89 kB / 0.9584 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007775/0.8201, allocations: 66.3 kB / 0.9584 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.8202, allocations: 13.72 kB / 0.9584 GB, free: 2.363 MB / 0.7169 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.0002032/0.8204, allocations: 200.2 kB / 0.9586 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.8204, allocations: 28.44 kB / 0.9587 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.8205, allocations: 32.52 kB / 0.9587 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8205, allocations: 3.469 kB / 0.9587 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.8205, allocations: 0 / 0.9587 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.8205, allocations: 1.344 kB / 0.9587 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.8208, allocations: 288.2 kB / 0.959 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8208, allocations: 0 / 0.959 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/0.8208, allocations: 7.516 kB / 0.959 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.8208, allocations: 6.594 kB / 0.959 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.8209, allocations: 3.906 kB / 0.959 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.8209, allocations: 5.375 kB / 0.959 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.8209, allocations: 1.438 kB / 0.959 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/0.8215, allocations: 431.3 kB / 0.9594 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.8215, allocations: 113.6 kB / 0.9595 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.8216, allocations: 6.844 kB / 0.9595 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.8217, allocations: 9.203 kB / 0.9595 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.8218, allocations: 20.17 kB / 0.9596 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.8218, allocations: 14.44 kB / 0.9596 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003133/0.8221, allocations: 288.2 kB / 0.9598 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8221, allocations: 0 / 0.9598 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000455/0.8226, allocations: 79.98 kB / 0.9599 GB, free: 1.34 MB / 0.7169 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.0002762/0.8229, allocations: 142.9 kB / 0.9601 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004678/0.8233, allocations: 258.8 kB / 0.9603 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8233, allocations: 0 / 0.9603 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.8236, allocations: 151.1 kB / 0.9604 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.8239, allocations: 34.02 kB / 0.9605 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/0.8249, allocations: 0.6056 MB / 0.9611 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.8252, allocations: 0.7674 MB / 0.9618 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.8253, allocations: 46.56 kB / 0.9619 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.514e-05/0.8254, allocations: 31.17 kB / 0.9619 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.202e-06/0.8254, allocations: 0 / 0.9619 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.01008/0.8355, allocations: 4.826 MB / 0.9666 GB, free: 13.54 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches