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.0008038/0.0008039, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00607/0.006071, allocations: 170 kB / 16.26 MB, free: 6.613 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.5/1.5, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.548/2.548, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 16.23 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7902/0.7905, allocations: 142.4 MB / 0.9551 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0008128/0.7914, allocations: 410.6 kB / 0.9555 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.7932, allocations: 1.325 MB / 0.9568 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.536e-05/0.7933, allocations: 0 / 0.9568 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004895/0.7938, allocations: 187.9 kB / 0.9569 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.7939, allocations: 99.7 kB / 0.957 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/0.7946, allocations: 209.2 kB / 0.9572 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005571/0.7952, allocations: 438.8 kB / 0.9576 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.238e-05/0.7953, allocations: 12.12 kB / 0.9577 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/0.7957, allocations: 186.4 kB / 0.9578 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003726/0.7961, allocations: 203.1 kB / 0.958 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.7962, allocations: 11.69 kB / 0.958 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.7965, allocations: 73.34 kB / 0.9581 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003364/0.7968, allocations: 241 kB / 0.9583 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.797, allocations: 165.8 kB / 0.9585 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.7976, allocations: 465.7 kB / 0.9589 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7976, allocations: 0 / 0.9589 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.805e-06/0.7976, allocations: 1.375 kB / 0.9589 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.7976, allocations: 0 / 0.9589 GB, free: 5.246 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.0008589/0.7985, allocations: 0.5172 MB / 0.9595 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.7985, allocations: 8.906 kB / 0.9595 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.7986, allocations: 35.02 kB / 0.9595 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.7992, allocations: 384.3 kB / 0.9599 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.7992, allocations: 16.44 kB / 0.9599 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.612e-05/0.7993, allocations: 16.28 kB / 0.9599 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.7996, allocations: 193.1 kB / 0.9601 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.7996, allocations: 0 / 0.9601 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.7997, allocations: 1.281 kB / 0.9601 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.7997, allocations: 1.281 kB / 0.9601 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.7998, allocations: 110.2 kB / 0.9602 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.8002, allocations: 398.6 kB / 0.9606 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.8007, allocations: 309.4 kB / 0.9609 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.8008, allocations: 133.4 kB / 0.961 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.8009, allocations: 1 kB / 0.961 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000455/0.8013, allocations: 286.1 kB / 0.9613 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.8013, allocations: 0 / 0.9613 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0008213/0.8022, allocations: 0.496 MB / 0.9617 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.8022, allocations: 116.9 kB / 0.9619 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.8027, allocations: 393.6 kB / 0.9622 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.8027, allocations: 41.34 kB / 0.9623 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.8029, allocations: 156.2 kB / 0.9624 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.8029, allocations: 38.19 kB / 0.9625 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.8029, allocations: 34.45 kB / 0.9625 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.803, allocations: 348.2 kB / 0.9628 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.8032, allocations: 82.48 kB / 0.9629 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.8037, allocations: 465.6 kB / 0.9633 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.804, allocations: 266 kB / 0.9636 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.804, allocations: 5.844 kB / 0.9636 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005005/0.8045, allocations: 328.9 kB / 0.9639 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.8045, allocations: 11.12 kB / 0.9639 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.8045, allocations: 3.625 kB / 0.9639 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.8046, allocations: 5.125 kB / 0.9639 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.8047, allocations: 28.14 kB / 0.964 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.8047, allocations: 8.969 kB / 0.964 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007888/0.8055, allocations: 87.3 kB / 0.9641 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.8056, allocations: 14.16 kB / 0.9641 GB, free: 1.414 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.0001979/0.8058, allocations: 194.9 kB / 0.9643 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.8058, allocations: 28.75 kB / 0.9643 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.974e-05/0.8059, allocations: 37.3 kB / 0.9643 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.8059, allocations: 2.656 kB / 0.9643 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.8059, allocations: 0.8438 kB / 0.9643 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.8059, allocations: 1.438 kB / 0.9643 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.8062, allocations: 287.3 kB / 0.9646 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.8062, allocations: 0.875 kB / 0.9646 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.68e-05/0.8062, allocations: 11.97 kB / 0.9646 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.8062, allocations: 1.25 kB / 0.9646 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.8062, allocations: 7.828 kB / 0.9646 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.8062, allocations: 1.531 kB / 0.9646 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8063, allocations: 4.656 kB / 0.9646 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005467/0.8068, allocations: 438 kB / 0.965 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.8069, allocations: 116.5 kB / 0.9651 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.8069, allocations: 6.312 kB / 0.9652 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.525e-05/0.807, allocations: 9.141 kB / 0.9652 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.8071, allocations: 15.86 kB / 0.9652 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.8071, allocations: 14.14 kB / 0.9652 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002969/0.8074, allocations: 284.7 kB / 0.9655 GB, free: 420 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8075, allocations: 0 / 0.9655 GB, free: 420 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004396/0.8079, allocations: 79.42 kB / 0.9655 GB, free: 404 kB / 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.0002181/0.8081, allocations: 148.1 kB / 0.9657 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004206/0.8085, allocations: 255.1 kB / 0.9659 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.8086, allocations: 4.812 kB / 0.9659 GB, free: 188 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.8088, allocations: 143.7 kB / 0.9661 GB, free: 128 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.8091, allocations: 36.64 kB / 0.9661 GB, free: 104 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009942/0.8101, allocations: 0.6093 MB / 0.9667 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.8105, allocations: 0.7711 MB / 0.9674 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.8106, allocations: 51.56 kB / 0.9675 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.131e-05/0.8107, allocations: 34.77 kB / 0.9675 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.8107, allocations: 5.156 kB / 0.9675 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.0101/0.8208, allocations: 4.76 MB / 0.9722 GB, free: 12.59 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