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.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.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: 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.001787/0.001787, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.413/2.413, allocations: 390.2 MB / 0.6642 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.89 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8082/0.8097, allocations: 140.4 MB / 0.9489 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.003043/0.8128, allocations: 0.7474 MB / 0.9497 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.8151, allocations: 1.343 MB / 0.951 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.8152, allocations: 1.375 kB / 0.951 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.8158, allocations: 189.5 kB / 0.9512 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.8159, allocations: 97.17 kB / 0.9513 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006228/0.8165, allocations: 209.1 kB / 0.9514 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.817, allocations: 444 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.393e-05/0.8171, allocations: 8.156 kB / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.8173, allocations: 187.3 kB / 0.9521 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.8176, allocations: 198.1 kB / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.573e-05/0.8177, allocations: 11.31 kB / 0.9523 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.8179, allocations: 74.22 kB / 0.9523 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003254/0.8182, allocations: 245 kB / 0.9526 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.8184, allocations: 140.4 kB / 0.9527 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.819, allocations: 453 kB / 0.9531 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.819, allocations: 1.219 kB / 0.9531 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.71e-07/0.819, allocations: 0 / 0.9531 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.819, allocations: 0 / 0.9531 GB, free: 6.359 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.001049/0.8201, allocations: 0.6358 MB / 0.9538 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.8201, allocations: 9.375 kB / 0.9538 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.8202, allocations: 38.33 kB / 0.9538 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.8207, allocations: 384.5 kB / 0.9542 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.8208, allocations: 12.81 kB / 0.9542 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-05/0.8208, allocations: 16.31 kB / 0.9542 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.8211, allocations: 199.5 kB / 0.9544 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.8212, allocations: 4 kB / 0.9544 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.8212, allocations: 0 / 0.9544 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.8212, allocations: 0 / 0.9544 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.8213, allocations: 110.6 kB / 0.9545 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.8217, allocations: 390.4 kB / 0.9549 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.8222, allocations: 313.6 kB / 0.9552 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.8223, allocations: 128.1 kB / 0.9553 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.8224, allocations: 1.344 kB / 0.9553 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004496/0.8228, allocations: 289.7 kB / 0.9556 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.8228, allocations: 0 / 0.9556 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0008911/0.8237, allocations: 0.4893 MB / 0.956 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.8238, allocations: 116.2 kB / 0.9562 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.8242, allocations: 401.3 kB / 0.9565 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.8243, allocations: 44.31 kB / 0.9566 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.8244, allocations: 155.8 kB / 0.9567 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.8245, allocations: 38.5 kB / 0.9568 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.8246, allocations: 121.1 kB / 0.9569 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8248, allocations: 344.3 kB / 0.9572 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.8249, allocations: 82.55 kB / 0.9573 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005993/0.8255, allocations: 470.2 kB / 0.9577 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.8259, allocations: 251.1 kB / 0.958 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8259, allocations: 0.7812 kB / 0.958 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005453/0.8264, allocations: 344.3 kB / 0.9583 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.8265, allocations: 7.469 kB / 0.9583 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.8265, allocations: 3.094 kB / 0.9583 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.8265, allocations: 5.031 kB / 0.9583 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.8267, allocations: 33.09 kB / 0.9583 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.8267, allocations: 4.844 kB / 0.9584 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007615/0.8275, allocations: 71.09 kB / 0.9584 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.8275, allocations: 10.34 kB / 0.9584 GB, free: 2.422 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.0002114/0.8277, allocations: 199.7 kB / 0.9586 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.8278, allocations: 28.19 kB / 0.9586 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.8278, allocations: 40.89 kB / 0.9587 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.8279, allocations: 2.375 kB / 0.9587 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.8279, allocations: 1.25 kB / 0.9587 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.8279, allocations: 5.109 kB / 0.9587 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.8281, allocations: 279.5 kB / 0.959 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.8281, allocations: 1.219 kB / 0.959 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.8282, allocations: 11.7 kB / 0.959 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.8282, allocations: 1.312 kB / 0.959 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.8282, allocations: 3.688 kB / 0.959 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.8282, allocations: 1.219 kB / 0.959 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8282, allocations: 5.219 kB / 0.959 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.8288, allocations: 444.2 kB / 0.9594 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.8289, allocations: 101.8 kB / 0.9595 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.8289, allocations: 10.5 kB / 0.9595 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/0.829, allocations: 9.078 kB / 0.9595 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.8291, allocations: 15.89 kB / 0.9595 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.8291, allocations: 18.38 kB / 0.9596 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002918/0.8294, allocations: 288.3 kB / 0.9598 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8294, allocations: 0 / 0.9598 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004349/0.8299, allocations: 79.08 kB / 0.9599 GB, free: 1.391 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.0002122/0.8301, allocations: 141.8 kB / 0.96 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.8305, allocations: 263.8 kB / 0.9603 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8305, allocations: 0 / 0.9603 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.8307, allocations: 152.1 kB / 0.9604 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.831, allocations: 26.2 kB / 0.9605 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008656/0.8319, allocations: 0.6136 MB / 0.9611 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.8321, allocations: 0.7639 MB / 0.9618 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001491/0.8323, allocations: 49.86 kB / 0.9619 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.8323, allocations: 32.45 kB / 0.9619 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.8323, allocations: 0 / 0.9619 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.009655/0.842, allocations: 4.797 MB / 0.9666 GB, free: 13.61 MB / 0.7325 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 -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/jenkins/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