Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.TimeTable,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.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,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.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001485/0.001485, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.19 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.299/2.299, allocations: 390.3 MB / 0.6655 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001456, allocations: 61.06 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3103, allocations: 140.4 MB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002103/0.3124, allocations: 0.6859 MB / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.3142, allocations: 1.348 MB / 0.9531 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.3142, allocations: 0 / 0.9531 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.3147, allocations: 195.6 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.3149, allocations: 103.7 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007002/0.3156, allocations: 227.2 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005543/0.3161, allocations: 499.7 kB / 0.9541 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.3162, allocations: 7.938 kB / 0.9541 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.3164, allocations: 199.8 kB / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.3167, allocations: 207.5 kB / 0.9545 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.3168, allocations: 27.94 kB / 0.9545 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.317, allocations: 79.95 kB / 0.9546 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003486/0.3173, allocations: 251.5 kB / 0.9548 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.3175, allocations: 151.3 kB / 0.955 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005187/0.3181, allocations: 470.7 kB / 0.9554 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3181, allocations: 4 kB / 0.9554 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3181, allocations: 0 / 0.9554 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.3181, allocations: 0 / 0.9554 GB, free: 3.582 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.001031/0.3191, allocations: 0.6423 MB / 0.9561 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.3192, allocations: 12.02 kB / 0.9561 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.3193, allocations: 36.56 kB / 0.9561 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006156/0.3199, allocations: 384.1 kB / 0.9565 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.32, allocations: 16.36 kB / 0.9565 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.3201, allocations: 16.38 kB / 0.9565 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.3204, allocations: 192.2 kB / 0.9567 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3204, allocations: 0 / 0.9567 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.3204, allocations: 4 kB / 0.9567 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.3204, allocations: 4 kB / 0.9567 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.3206, allocations: 111.9 kB / 0.9568 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.321, allocations: 383.1 kB / 0.9572 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.3214, allocations: 315.6 kB / 0.9575 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.3216, allocations: 130.5 kB / 0.9576 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.3216, allocations: 4 kB / 0.9576 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004305/0.3221, allocations: 283.3 kB / 0.9579 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.3221, allocations: 0 / 0.9579 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0008683/0.323, allocations: 0.4932 MB / 0.9584 GB, free: 384 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.3231, allocations: 110.8 kB / 0.9585 GB, free: 248 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/0.3236, allocations: 408.5 kB / 0.9589 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/0.3236, allocations: 41.7 kB / 0.9589 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.3238, allocations: 152.7 kB / 0.959 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.3238, allocations: 35.56 kB / 0.9591 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.324, allocations: 117.6 kB / 0.9592 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3242, allocations: 342.8 kB / 0.9595 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.3243, allocations: 83.95 kB / 0.9596 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/0.3248, allocations: 467.5 kB / 0.96 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.3251, allocations: 253.5 kB / 0.9603 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3251, allocations: 0 / 0.9603 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000547/0.3257, allocations: 336.8 kB / 0.9606 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3257, allocations: 8 kB / 0.9606 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.3257, allocations: 4 kB / 0.9606 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.3258, allocations: 7.984 kB / 0.9606 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3259, allocations: 27.92 kB / 0.9606 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3259, allocations: 11.94 kB / 0.9607 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006875/0.3266, allocations: 67.67 kB / 0.9607 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.3267, allocations: 12 kB / 0.9607 GB, free: 13.7 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.0002696/0.3269, allocations: 195.9 kB / 0.9609 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.327, allocations: 31.56 kB / 0.9609 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.147e-05/0.3271, allocations: 37.89 kB / 0.961 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-06/0.3271, allocations: 4.234 kB / 0.961 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.3271, allocations: 8 kB / 0.961 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.3271, allocations: 7.969 kB / 0.961 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.3274, allocations: 277.5 kB / 0.9613 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.3274, allocations: 11.92 kB / 0.9613 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.389e-05/0.3275, allocations: 4 kB / 0.9613 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3275, allocations: 4 kB / 0.9613 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.3275, allocations: 7.938 kB / 0.9613 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3275, allocations: 0 / 0.9613 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.3275, allocations: 3.984 kB / 0.9613 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/0.3281, allocations: 446.2 kB / 0.9617 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.3281, allocations: 96.86 kB / 0.9618 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.3282, allocations: 11.94 kB / 0.9618 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.342e-05/0.3283, allocations: 3.984 kB / 0.9618 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.3283, allocations: 15.98 kB / 0.9618 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.3284, allocations: 16 kB / 0.9619 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003027/0.3287, allocations: 291 kB / 0.9621 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3287, allocations: 0 / 0.9621 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004104/0.3291, allocations: 79.98 kB / 0.9622 GB, free: 12.08 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.000354/0.3295, allocations: 137.6 kB / 0.9623 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004983/0.33, allocations: 264.2 kB / 0.9626 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.33, allocations: 0 / 0.9626 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.3302, allocations: 151.9 kB / 0.9627 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.3305, allocations: 28.58 kB / 0.9628 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.3315, allocations: 0.565 MB / 0.9633 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.332, allocations: 0.7637 MB / 0.9641 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.3321, allocations: 45.89 kB / 0.9641 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/0.3322, allocations: 31.42 kB / 0.9641 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/0.3322, allocations: 4 kB / 0.9641 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of Templates: time 0.009542/0.3418, allocations: 4.979 MB / 0.969 GB, free: 5.105 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches