Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002487/0.002487, allocations: 161.6 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.801/2.801, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.04e-06/5.04e-06, allocations: 4 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.639e-05, allocations: 9.344 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001935/0.001972, allocations: 0.6724 MB / 0.787 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.004269, allocations: 1.348 MB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.004335, allocations: 4 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005875/0.004922, allocations: 194.3 kB / 0.7886 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.005089, allocations: 105.9 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008681/0.005957, allocations: 241.7 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006887/0.006646, allocations: 489.3 kB / 0.7894 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.006689, allocations: 4 kB / 0.7894 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004651/0.007154, allocations: 251.7 kB / 0.7896 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.007557, allocations: 222.2 kB / 0.7898 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.007657, allocations: 20 kB / 0.7898 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.007929, allocations: 95.84 kB / 0.7899 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006516/0.00858, allocations: 283.4 kB / 0.7902 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.008796, allocations: 117.2 kB / 0.7903 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007768/0.009573, allocations: 0.522 MB / 0.7908 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.009576, allocations: 0 / 0.7908 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.009577, allocations: 0 / 0.7908 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.009585, allocations: 2.812 kB / 0.7908 GB, free: 8.281 MB / 0.7448 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.001271/0.01086, allocations: 0.5708 MB / 0.7914 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.0109, allocations: 8.031 kB / 0.7914 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.01109, allocations: 36.73 kB / 0.7914 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/0.01173, allocations: 325.7 kB / 0.7917 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.01177, allocations: 12.38 kB / 0.7917 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.967e-05/0.01185, allocations: 25.08 kB / 0.7918 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.01222, allocations: 184.7 kB / 0.7919 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.01223, allocations: 1.844 kB / 0.7919 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.01225, allocations: 4.375 kB / 0.7919 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.01226, allocations: 4.312 kB / 0.7919 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.01247, allocations: 111.9 kB / 0.7921 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.01297, allocations: 272.2 kB / 0.7923 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.0135, allocations: 307.6 kB / 0.7926 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.01371, allocations: 128.3 kB / 0.7927 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.01372, allocations: 3.938 kB / 0.7927 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005191/0.01424, allocations: 284.6 kB / 0.793 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.01424, allocations: 3.938 kB / 0.793 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.001025/0.01527, allocations: 0.5017 MB / 0.7935 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.833e-05/0.01537, allocations: 112.5 kB / 0.7936 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005543/0.01592, allocations: 404.4 kB / 0.794 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.43e-05/0.016, allocations: 37.7 kB / 0.794 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.01618, allocations: 152.8 kB / 0.7942 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.01623, allocations: 41.59 kB / 0.7942 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.01644, allocations: 113.6 kB / 0.7943 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.01666, allocations: 350.8 kB / 0.7947 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.01681, allocations: 87.89 kB / 0.7947 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.01791, allocations: 1.103 MB / 0.7958 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.01829, allocations: 245.9 kB / 0.796 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.0183, allocations: 5.375 kB / 0.7961 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006245/0.01892, allocations: 335 kB / 0.7964 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.01894, allocations: 8 kB / 0.7964 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.01895, allocations: 4.938 kB / 0.7964 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.01898, allocations: 4 kB / 0.7964 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.01914, allocations: 37.25 kB / 0.7964 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.01916, allocations: 12.02 kB / 0.7964 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007663/0.01993, allocations: 60.75 kB / 0.7965 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.01996, allocations: 17.94 kB / 0.7965 GB, free: 1.906 MB / 0.7448 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.0002581/0.02022, allocations: 199.6 kB / 0.7967 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.02029, allocations: 32.62 kB / 0.7967 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.616e-05/0.02036, allocations: 33.95 kB / 0.7968 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.02037, allocations: 11.41 kB / 0.7968 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.02038, allocations: 0 / 0.7968 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.02039, allocations: 8.156 kB / 0.7968 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.0209, allocations: 205.2 kB / 0.797 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.0209, allocations: 0 / 0.797 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.02091, allocations: 4 kB / 0.797 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.02092, allocations: 3.984 kB / 0.797 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.02094, allocations: 11.98 kB / 0.797 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.02094, allocations: 4 kB / 0.797 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02094, allocations: 0.625 kB / 0.797 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/0.02164, allocations: 442.2 kB / 0.7974 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.0217, allocations: 28.36 kB / 0.7975 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.02174, allocations: 5.328 kB / 0.7975 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.861e-05/0.02183, allocations: 8 kB / 0.7975 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.02189, allocations: 19.91 kB / 0.7975 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.02192, allocations: 12 kB / 0.7975 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003739/0.0223, allocations: 287.6 kB / 0.7978 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.0223, allocations: 0.5312 kB / 0.7978 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000441/0.02274, allocations: 79.88 kB / 0.7978 GB, free: 492 kB / 0.7448 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.0002834/0.02302, allocations: 150.8 kB / 0.798 GB, free: 336 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000499/0.02352, allocations: 253.6 kB / 0.7982 GB, free: 84 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.02352, allocations: 2.781 kB / 0.7982 GB, free: 84 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.02375, allocations: 115.9 kB / 0.7983 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.02404, allocations: 28.64 kB / 0.7984 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.02512, allocations: 0.5774 MB / 0.7989 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.02531, allocations: 158.1 kB / 0.7991 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.02546, allocations: 48.19 kB / 0.7991 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.081e-05/0.02554, allocations: 29.53 kB / 0.7992 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of SimCode: time 6.31e-07/0.02554, allocations: 0 / 0.7992 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of Templates: time 0.01171/0.03725, allocations: 5.434 MB / 0.8045 GB, free: 9.762 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.203218208975159]