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.001698/0.001698, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.002018/0.002018, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.431/1.431, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.27/2.27, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 66.86 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2332, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002234/0.2355, allocations: 0.6864 MB / 0.951 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.2375, allocations: 1.352 MB / 0.9523 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.2376, allocations: 0 / 0.9523 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005089/0.2381, allocations: 187.5 kB / 0.9525 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.2383, allocations: 103.7 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008222/0.2391, allocations: 227.3 kB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005407/0.2397, allocations: 475.8 kB / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.2397, allocations: 8 kB / 0.9532 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.24, allocations: 203.7 kB / 0.9534 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.2404, allocations: 207.6 kB / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.2405, allocations: 24 kB / 0.9537 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.2407, allocations: 83.94 kB / 0.9537 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003547/0.2411, allocations: 247.5 kB / 0.954 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.2414, allocations: 155.3 kB / 0.9541 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.2419, allocations: 467 kB / 0.9546 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2419, allocations: 0 / 0.9546 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2419, allocations: 0 / 0.9546 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.2419, allocations: 4 kB / 0.9546 GB, free: 4.449 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.001033/0.243, allocations: 0.6475 MB / 0.9552 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.243, allocations: 16.02 kB / 0.9552 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.2432, allocations: 36.56 kB / 0.9553 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.2437, allocations: 372.2 kB / 0.9556 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.2437, allocations: 12.38 kB / 0.9556 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.109e-05/0.2438, allocations: 20.38 kB / 0.9556 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.2441, allocations: 192.2 kB / 0.9558 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2442, allocations: 7.875 kB / 0.9558 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.2442, allocations: 3.938 kB / 0.9558 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.2442, allocations: 8 kB / 0.9558 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.2444, allocations: 107.9 kB / 0.9559 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.2448, allocations: 379.1 kB / 0.9563 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.2453, allocations: 315.6 kB / 0.9566 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.2454, allocations: 130.5 kB / 0.9567 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.2455, allocations: 0 / 0.9567 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004248/0.2459, allocations: 289.5 kB / 0.957 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.2459, allocations: 0 / 0.957 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0008179/0.2467, allocations: 0.4894 MB / 0.9575 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.2468, allocations: 110.8 kB / 0.9576 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/0.2473, allocations: 404.4 kB / 0.958 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.385e-05/0.2473, allocations: 41.7 kB / 0.958 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.2475, allocations: 156.7 kB / 0.9582 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.2475, allocations: 39.55 kB / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.2477, allocations: 117.6 kB / 0.9583 GB, free: 348 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2478, allocations: 338.8 kB / 0.9586 GB, free: 0 / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.248, allocations: 83.95 kB / 0.9587 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.2485, allocations: 473.2 kB / 0.9592 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.2488, allocations: 257.6 kB / 0.9594 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2488, allocations: 0 / 0.9594 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005306/0.2494, allocations: 332.9 kB / 0.9597 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.2494, allocations: 10.66 kB / 0.9597 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.2494, allocations: 11.92 kB / 0.9598 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.2495, allocations: 4 kB / 0.9598 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.2496, allocations: 31.92 kB / 0.9598 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.2496, allocations: 7.938 kB / 0.9598 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007824/0.2504, allocations: 76.69 kB / 0.9599 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.2504, allocations: 8.125 kB / 0.9599 GB, free: 14.55 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.0002151/0.2507, allocations: 203.8 kB / 0.9601 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.2507, allocations: 35.62 kB / 0.9601 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.2508, allocations: 29.89 kB / 0.9601 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2508, allocations: 4 kB / 0.9601 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2508, allocations: 7.984 kB / 0.9601 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2508, allocations: 4 kB / 0.9601 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.2511, allocations: 285.4 kB / 0.9604 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2511, allocations: 0 / 0.9604 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.2512, allocations: 4 kB / 0.9604 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2512, allocations: 7.938 kB / 0.9604 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.2512, allocations: 8 kB / 0.9604 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2512, allocations: 3.984 kB / 0.9604 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2512, allocations: 0 / 0.9604 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.2518, allocations: 438.2 kB / 0.9609 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.2519, allocations: 96.83 kB / 0.961 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.2519, allocations: 11.92 kB / 0.961 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.252, allocations: 4 kB / 0.961 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.2521, allocations: 19.92 kB / 0.961 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.2521, allocations: 11.94 kB / 0.961 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00031/0.2524, allocations: 295 kB / 0.9613 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2524, allocations: 4 kB / 0.9613 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003988/0.2528, allocations: 79.98 kB / 0.9614 GB, free: 12.93 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.0002408/0.2531, allocations: 131.2 kB / 0.9615 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004409/0.2535, allocations: 264.2 kB / 0.9617 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2536, allocations: 4.25 kB / 0.9617 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.2538, allocations: 179.8 kB / 0.9619 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.2542, allocations: 24.58 kB / 0.9619 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.2554, allocations: 0.6174 MB / 0.9625 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.2559, allocations: 0.7636 MB / 0.9633 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.284e-05/0.256, allocations: 27.42 kB / 0.9633 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.256, allocations: 0 / 0.9633 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of Templates: time 0.007513/0.2635, allocations: 4.303 MB / 0.9675 GB, free: 6.625 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 -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) "" Variables in the reference:time,intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1] Variables in the result:intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1],time