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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001434/0.001435, allocations: 108.9 kB / 16.36 MB, free: 5.824 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.001253/0.001254, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.421/1.421, 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 9.1.2-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 66.98 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3383, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002194/0.3405, allocations: 0.6937 MB / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.3427, allocations: 1.348 MB / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.725e-05/0.3428, allocations: 0 / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005228/0.3433, allocations: 199.5 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.3435, allocations: 95.73 kB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008275/0.3444, allocations: 235.1 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006588/0.345, allocations: 491.7 kB / 0.9541 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.3451, allocations: 11.92 kB / 0.9541 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003235/0.3454, allocations: 199.8 kB / 0.9543 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.3458, allocations: 211.5 kB / 0.9545 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.3459, allocations: 20 kB / 0.9545 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.3462, allocations: 87.95 kB / 0.9546 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.3465, allocations: 251.5 kB / 0.9549 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.3468, allocations: 147.3 kB / 0.955 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006114/0.3474, allocations: 478.7 kB / 0.9555 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3474, allocations: 0 / 0.9555 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3474, allocations: 0 / 0.9555 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.3474, allocations: 0 / 0.9555 GB, free: 3.609 MB / 0.7325 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.001153/0.3486, allocations: 0.6423 MB / 0.9561 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3486, allocations: 16.02 kB / 0.9561 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.3488, allocations: 36.56 kB / 0.9561 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.3495, allocations: 380.1 kB / 0.9565 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3495, allocations: 12.38 kB / 0.9565 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.326e-05/0.3496, allocations: 20.38 kB / 0.9565 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.3499, allocations: 188.2 kB / 0.9567 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3499, allocations: 0 / 0.9567 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.3499, allocations: 7.938 kB / 0.9567 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3499, allocations: 4 kB / 0.9567 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.3501, allocations: 107.9 kB / 0.9568 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.3506, allocations: 383.1 kB / 0.9572 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.351, allocations: 319.6 kB / 0.9575 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.3512, allocations: 130.5 kB / 0.9576 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.3512, allocations: 4 kB / 0.9576 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004117/0.3516, allocations: 285.5 kB / 0.9579 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.3516, allocations: 0 / 0.9579 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0008292/0.3525, allocations: 497.1 kB / 0.9584 GB, free: 416 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.3526, allocations: 118.8 kB / 0.9585 GB, free: 272 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.353, allocations: 400.4 kB / 0.9589 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-05/0.3531, allocations: 41.7 kB / 0.9589 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.3533, allocations: 156.8 kB / 0.959 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.3533, allocations: 31.56 kB / 0.9591 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.3535, allocations: 121.6 kB / 0.9592 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3536, allocations: 338.8 kB / 0.9595 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.3538, allocations: 83.95 kB / 0.9596 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.3542, allocations: 470.5 kB / 0.96 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.3545, allocations: 253.5 kB / 0.9603 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.3546, allocations: 0 / 0.9603 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005023/0.3551, allocations: 332.9 kB / 0.9606 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3551, allocations: 8 kB / 0.9606 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3551, allocations: 7.984 kB / 0.9606 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3551, allocations: 4 kB / 0.9606 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.3553, allocations: 31.92 kB / 0.9607 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.3553, allocations: 11.94 kB / 0.9607 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007085/0.356, allocations: 72.81 kB / 0.9607 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.3561, allocations: 16.23 kB / 0.9607 GB, free: 13.72 MB / 0.7481 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.0002478/0.3563, allocations: 199.9 kB / 0.9609 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.3564, allocations: 31.56 kB / 0.961 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.109e-05/0.3565, allocations: 33.89 kB / 0.961 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.3565, allocations: 0 / 0.961 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.3565, allocations: 11.98 kB / 0.961 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3565, allocations: 0 / 0.961 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.3568, allocations: 285.5 kB / 0.9613 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.3568, allocations: 7.938 kB / 0.9613 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.3568, allocations: 4 kB / 0.9613 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3568, allocations: 0 / 0.9613 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.3569, allocations: 4 kB / 0.9613 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3569, allocations: 3.938 kB / 0.9613 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.722e-05/0.3569, allocations: 7.984 kB / 0.9613 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.3575, allocations: 436.2 kB / 0.9617 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.3577, allocations: 100.9 kB / 0.9618 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.3577, allocations: 7.938 kB / 0.9618 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.979e-05/0.3578, allocations: 7.984 kB / 0.9618 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.3579, allocations: 15.98 kB / 0.9619 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.3579, allocations: 12 kB / 0.9619 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003028/0.3582, allocations: 291 kB / 0.9621 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3582, allocations: 4 kB / 0.9621 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004111/0.3586, allocations: 79.98 kB / 0.9622 GB, free: 12.11 MB / 0.7481 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.000268/0.3589, allocations: 135.2 kB / 0.9624 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004397/0.3594, allocations: 264.1 kB / 0.9626 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3594, allocations: 4.25 kB / 0.9626 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.3596, allocations: 147.9 kB / 0.9627 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.3599, allocations: 32.77 kB / 0.9628 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.3611, allocations: 0.5649 MB / 0.9633 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/0.3616, allocations: 0.7753 MB / 0.9641 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.3618, allocations: 45.95 kB / 0.9641 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.3619, allocations: 27.42 kB / 0.9642 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.3619, allocations: 0 / 0.9642 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of Templates: time 0.01017/0.372, allocations: 5 MB / 0.969 GB, free: 5.109 MB / 0.7481 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 -s cvode -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/jenkins1/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