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.001841/0.001841, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001993/0.001993, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.642/1.642, allocations: 177.1 MB / 203.9 MB, free: 5.309 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.952/2.952, allocations: 359 MB / 0.6048 GB, free: 10.93 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 3.256e-06/3.256e-06, allocations: 0 / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.486e-05, allocations: 8.266 kB / 0.7864 GB, free: 11.67 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002075/0.00211, allocations: 0.6705 MB / 0.787 GB, free: 11.02 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.00495, allocations: 1.356 MB / 0.7884 GB, free: 9.656 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.932e-05/0.00505, allocations: 4.5 kB / 0.7884 GB, free: 9.652 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007981/0.005848, allocations: 198.3 kB / 0.7886 GB, free: 9.461 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.006011, allocations: 93.23 kB / 0.7887 GB, free: 9.371 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009531/0.006964, allocations: 249.8 kB / 0.7889 GB, free: 9.129 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007995/0.007764, allocations: 496.8 kB / 0.7894 GB, free: 8.645 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.684e-05/0.007841, allocations: 9.453 kB / 0.7894 GB, free: 8.637 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003982/0.008239, allocations: 251.6 kB / 0.7896 GB, free: 8.391 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004174/0.008656, allocations: 217.3 kB / 0.7898 GB, free: 8.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.008769, allocations: 24 kB / 0.7898 GB, free: 8.156 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.009054, allocations: 99.83 kB / 0.7899 GB, free: 8.059 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004623/0.009517, allocations: 271.4 kB / 0.7902 GB, free: 7.793 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.009717, allocations: 121.3 kB / 0.7903 GB, free: 7.676 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.0108, allocations: 0.522 MB / 0.7908 GB, free: 7.152 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.0108, allocations: 0 / 0.7908 GB, free: 7.152 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/0.01081, allocations: 0 / 0.7908 GB, free: 7.152 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.01081, allocations: 1.688 kB / 0.7908 GB, free: 7.152 MB / 0.698 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.001334/0.01215, allocations: 0.6821 MB / 0.7915 GB, free: 6.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.0122, allocations: 8.031 kB / 0.7915 GB, free: 6.422 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.01236, allocations: 39.3 kB / 0.7915 GB, free: 6.387 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.013, allocations: 296.6 kB / 0.7918 GB, free: 6.074 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.01302, allocations: 12.38 kB / 0.7918 GB, free: 6.062 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.573e-05/0.0131, allocations: 20.38 kB / 0.7919 GB, free: 6.043 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.01341, allocations: 149.2 kB / 0.792 GB, free: 5.879 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.01342, allocations: 192 / 0.792 GB, free: 5.879 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.01344, allocations: 4.359 kB / 0.792 GB, free: 5.875 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.01344, allocations: 1 kB / 0.792 GB, free: 5.875 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.01359, allocations: 68.38 kB / 0.7921 GB, free: 5.809 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.01409, allocations: 299.9 kB / 0.7924 GB, free: 5.473 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.01455, allocations: 238.7 kB / 0.7926 GB, free: 5.203 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.01471, allocations: 83.09 kB / 0.7927 GB, free: 5.109 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.01472, allocations: 4.469 kB / 0.7927 GB, free: 5.105 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004641/0.01519, allocations: 269.2 kB / 0.7929 GB, free: 4.816 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.01519, allocations: 1.156 kB / 0.7929 GB, free: 4.816 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0008829/0.01607, allocations: 413.7 kB / 0.7933 GB, free: 4.406 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.01618, allocations: 118.8 kB / 0.7934 GB, free: 4.266 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/0.01671, allocations: 415.6 kB / 0.7938 GB, free: 3.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.01677, allocations: 37.7 kB / 0.7939 GB, free: 3.797 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.01699, allocations: 215.5 kB / 0.7941 GB, free: 3.582 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.015e-05/0.01706, allocations: 55.67 kB / 0.7941 GB, free: 3.527 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.01727, allocations: 121 kB / 0.7942 GB, free: 3.402 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003428/0.01762, allocations: 0.5352 MB / 0.7948 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.01774, allocations: 63.91 kB / 0.7948 GB, free: 2.793 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.01882, allocations: 1.087 MB / 0.7959 GB, free: 1.379 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.01921, allocations: 272.7 kB / 0.7961 GB, free: 1.051 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01921, allocations: 0 / 0.7961 GB, free: 1.051 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005361/0.01974, allocations: 287.5 kB / 0.7964 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.01977, allocations: 8 kB / 0.7964 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.01977, allocations: 4 kB / 0.7964 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.0198, allocations: 6.328 kB / 0.7964 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.02003, allocations: 47.91 kB / 0.7965 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.02004, allocations: 7.938 kB / 0.7965 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005643/0.02061, allocations: 55.95 kB / 0.7965 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.02064, allocations: 19.98 kB / 0.7966 GB, free: 0.6211 MB / 0.698 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.0002373/0.02088, allocations: 196.1 kB / 0.7967 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.02094, allocations: 35.8 kB / 0.7968 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.356e-05/0.02101, allocations: 30.86 kB / 0.7968 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.02101, allocations: 0 / 0.7968 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.02102, allocations: 4.844 kB / 0.7968 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.02103, allocations: 7.938 kB / 0.7968 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.02136, allocations: 240.5 kB / 0.797 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.02136, allocations: 1.344 kB / 0.7971 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.02138, allocations: 8 kB / 0.7971 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.02138, allocations: 0 / 0.7971 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.0214, allocations: 4.5 kB / 0.7971 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.02141, allocations: 4 kB / 0.7971 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.02141, allocations: 4.672 kB / 0.7971 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000913/0.02232, allocations: 391.5 kB / 0.7974 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.02239, allocations: 31.73 kB / 0.7975 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.02243, allocations: 8 kB / 0.7975 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.945e-05/0.02252, allocations: 0 / 0.7975 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.02258, allocations: 19.97 kB / 0.7975 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.02262, allocations: 21.06 kB / 0.7975 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003199/0.02294, allocations: 263 kB / 0.7978 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.02294, allocations: 0 / 0.7978 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003979/0.02334, allocations: 80.89 kB / 0.7978 GB, free: 15.22 MB / 0.7136 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.000268/0.02361, allocations: 132.2 kB / 0.798 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.02407, allocations: 229.8 kB / 0.7982 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.02407, allocations: 0 / 0.7982 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.02426, allocations: 107.6 kB / 0.7983 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.02454, allocations: 25.48 kB / 0.7983 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/0.02548, allocations: 0.4961 MB / 0.7988 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.02567, allocations: 156.1 kB / 0.799 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001171/0.02578, allocations: 37.55 kB / 0.799 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.02586, allocations: 24.5 kB / 0.799 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.02586, allocations: 0 / 0.799 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of Templates: time 0.01379/0.03966, allocations: 5.426 MB / 0.8043 GB, free: 8.652 MB / 0.7136 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] 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.271024413988926]