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.001188/0.001189, allocations: 105.2 kB / 16.35 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.00137/0.00137, allocations: 190.5 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.12 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.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 62.66 kB / 0.814 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3057, allocations: 140.4 MB / 0.9511 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001964/0.3077, allocations: 0.6841 MB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.3095, allocations: 1.341 MB / 0.9531 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.3095, allocations: 3.938 kB / 0.9531 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004617/0.31, allocations: 195.6 kB / 0.9533 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.3102, allocations: 103.7 kB / 0.9534 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.3108, allocations: 239.3 kB / 0.9536 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005162/0.3114, allocations: 495.7 kB / 0.9541 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.3114, allocations: 7.938 kB / 0.9541 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.3116, allocations: 199.8 kB / 0.9543 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.3119, allocations: 207.6 kB / 0.9545 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.457e-05/0.312, allocations: 20 kB / 0.9545 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.3122, allocations: 87.88 kB / 0.9546 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003449/0.3126, allocations: 255.5 kB / 0.9549 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.3128, allocations: 147.3 kB / 0.955 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.3133, allocations: 478.7 kB / 0.9555 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3133, allocations: 0 / 0.9555 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3133, allocations: 0 / 0.9555 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3133, allocations: 0 / 0.9555 GB, free: 3.523 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.0009785/0.3143, allocations: 0.6384 MB / 0.9561 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3143, allocations: 12.03 kB / 0.9561 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.3145, allocations: 32.56 kB / 0.9561 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005944/0.3151, allocations: 388.1 kB / 0.9565 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.3151, allocations: 16.36 kB / 0.9565 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.3152, allocations: 20.38 kB / 0.9565 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.3155, allocations: 188.2 kB / 0.9567 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.3155, allocations: 0 / 0.9567 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.3155, allocations: 11.92 kB / 0.9567 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3155, allocations: 0 / 0.9567 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.3157, allocations: 111.9 kB / 0.9568 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.3161, allocations: 383.1 kB / 0.9572 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.3166, allocations: 319.6 kB / 0.9575 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.3168, allocations: 122.6 kB / 0.9576 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.3168, allocations: 7.984 kB / 0.9576 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004211/0.3172, allocations: 279.6 kB / 0.9579 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.3172, allocations: 4 kB / 0.9579 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0008301/0.3181, allocations: 0.4932 MB / 0.9584 GB, free: 324 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.3182, allocations: 118.8 kB / 0.9585 GB, free: 180 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.3186, allocations: 400.4 kB / 0.9589 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.3187, allocations: 37.7 kB / 0.9589 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.3188, allocations: 148.8 kB / 0.959 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.3189, allocations: 43.53 kB / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.3191, allocations: 117.6 kB / 0.9592 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3192, allocations: 346.8 kB / 0.9595 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.3193, allocations: 83.95 kB / 0.9596 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.3198, allocations: 459.5 kB / 0.96 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.3201, allocations: 257.4 kB / 0.9603 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3201, allocations: 0 / 0.9603 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004713/0.3206, allocations: 340.8 kB / 0.9606 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3206, allocations: 4 kB / 0.9606 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3206, allocations: 4 kB / 0.9606 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/0.3207, allocations: 4 kB / 0.9606 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3208, allocations: 32.33 kB / 0.9607 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.3209, allocations: 15.92 kB / 0.9607 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000704/0.3216, allocations: 64.39 kB / 0.9607 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.3216, allocations: 16 kB / 0.9607 GB, free: 13.64 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.0002196/0.3218, allocations: 191.9 kB / 0.9609 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.3219, allocations: 39.56 kB / 0.961 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.839e-05/0.3219, allocations: 33.89 kB / 0.961 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.322, allocations: 0 / 0.961 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.322, allocations: 4 kB / 0.961 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.322, allocations: 0 / 0.961 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.3223, allocations: 285.6 kB / 0.9613 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3223, allocations: 7.938 kB / 0.9613 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.547e-05/0.3223, allocations: 4 kB / 0.9613 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3223, allocations: 0 / 0.9613 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3223, allocations: 7.984 kB / 0.9613 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3224, allocations: 4 kB / 0.9613 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3224, allocations: 4 kB / 0.9613 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005693/0.3229, allocations: 436.6 kB / 0.9617 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.323, allocations: 100.8 kB / 0.9618 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.3231, allocations: 11.94 kB / 0.9618 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.3232, allocations: 3.938 kB / 0.9618 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.3232, allocations: 24.22 kB / 0.9619 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.3233, allocations: 15.98 kB / 0.9619 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002947/0.3236, allocations: 287 kB / 0.9621 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3236, allocations: 0 / 0.9621 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003759/0.324, allocations: 76 kB / 0.9622 GB, free: 12.03 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.0002504/0.3242, allocations: 151.1 kB / 0.9624 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000403/0.3246, allocations: 267.5 kB / 0.9626 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3246, allocations: 0 / 0.9626 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.3248, allocations: 147.9 kB / 0.9628 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.3251, allocations: 26.48 kB / 0.9628 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.326, allocations: 0.5697 MB / 0.9633 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.3264, allocations: 0.7636 MB / 0.9641 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.3265, allocations: 49.94 kB / 0.9641 GB, free: 10 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/0.3266, allocations: 35.36 kB / 0.9642 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.3266, allocations: 0 / 0.9642 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of Templates: time 0.008724/0.3353, allocations: 4.998 MB / 0.969 GB, free: 5.02 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 gbode -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