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.001005/0.001005, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001086/0.001086, allocations: 169.3 kB / 23.82 MB, free: 0.7461 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 0.9889/0.9889, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.771/1.771, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.523e-05/3.82e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.004799/0.004837, allocations: 0.7066 MB / 0.7878 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.00693, allocations: 1.375 MB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.737e-05/0.007017, allocations: 4.656 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005571/0.007574, allocations: 189.9 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.007705, allocations: 113.5 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008084/0.008513, allocations: 240.3 kB / 0.7897 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005802/0.009094, allocations: 487.8 kB / 0.7901 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.009141, allocations: 4 kB / 0.7901 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.009488, allocations: 247.7 kB / 0.7904 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.009871, allocations: 220.2 kB / 0.7906 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.4e-05/0.009965, allocations: 24.59 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.01024, allocations: 95.84 kB / 0.7907 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003871/0.01063, allocations: 269.1 kB / 0.791 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.01083, allocations: 119.7 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.01148, allocations: 434.7 kB / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.01148, allocations: 0 / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.733e-06/0.01148, allocations: 0.75 kB / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.01149, allocations: 0 / 0.7915 GB, free: 7.984 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.0011/0.01259, allocations: 0.6641 MB / 0.7921 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.026e-05/0.01266, allocations: 8.031 kB / 0.7921 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.01283, allocations: 34.3 kB / 0.7922 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005088/0.01334, allocations: 292.5 kB / 0.7925 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.01336, allocations: 12.38 kB / 0.7925 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.126e-05/0.01343, allocations: 20.38 kB / 0.7925 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.0137, allocations: 129.8 kB / 0.7926 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.01372, allocations: 5.547 kB / 0.7926 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.01374, allocations: 4.375 kB / 0.7926 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.01374, allocations: 384 / 0.7926 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.01386, allocations: 55.83 kB / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.01425, allocations: 292.4 kB / 0.7929 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.01459, allocations: 199.1 kB / 0.7931 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.0147, allocations: 67.09 kB / 0.7932 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.01471, allocations: 4 kB / 0.7932 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004237/0.01513, allocations: 246.7 kB / 0.7934 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 2.835e-06/0.01514, allocations: 1.219 kB / 0.7934 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0007592/0.0159, allocations: 377.8 kB / 0.7938 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.01596, allocations: 114.8 kB / 0.7939 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/0.01637, allocations: 382.2 kB / 0.7943 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/0.01644, allocations: 34.33 kB / 0.7943 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.0166, allocations: 212.6 kB / 0.7945 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.01666, allocations: 35.75 kB / 0.7945 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.01683, allocations: 123.2 kB / 0.7947 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.017, allocations: 0.5244 MB / 0.7952 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.966e-05/0.0171, allocations: 51.95 kB / 0.7952 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006597/0.01776, allocations: 1.068 MB / 0.7963 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.01805, allocations: 255.2 kB / 0.7965 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.01805, allocations: 0.8438 kB / 0.7965 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006478/0.0187, allocations: 278 kB / 0.7968 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.01872, allocations: 4 kB / 0.7968 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.01873, allocations: 4 kB / 0.7968 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.01876, allocations: 8 kB / 0.7968 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.01895, allocations: 39.91 kB / 0.7968 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.01896, allocations: 11.94 kB / 0.7968 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.01942, allocations: 72.12 kB / 0.7969 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.01945, allocations: 13.48 kB / 0.7969 GB, free: 1.754 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.0001897/0.01964, allocations: 187 kB / 0.7971 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/0.01972, allocations: 44.3 kB / 0.7971 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.061e-05/0.01978, allocations: 25.95 kB / 0.7972 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01978, allocations: 0.9062 kB / 0.7972 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.01979, allocations: 4 kB / 0.7972 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.01979, allocations: 5.031 kB / 0.7972 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.02005, allocations: 220.5 kB / 0.7974 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.02005, allocations: 7.984 kB / 0.7974 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.135e-05/0.02007, allocations: 12.59 kB / 0.7974 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.02008, allocations: 0 / 0.7974 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.02009, allocations: 5.062 kB / 0.7974 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.0201, allocations: 0 / 0.7974 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.0201, allocations: 4 kB / 0.7974 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000515/0.02061, allocations: 369.5 kB / 0.7978 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.02066, allocations: 31.78 kB / 0.7978 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.02069, allocations: 4 kB / 0.7978 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.02078, allocations: 4 kB / 0.7978 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.02084, allocations: 19.91 kB / 0.7978 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.02087, allocations: 12 kB / 0.7978 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002423/0.02111, allocations: 247 kB / 0.7981 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.02111, allocations: 0 / 0.7981 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004877/0.0216, allocations: 79.92 kB / 0.7982 GB, free: 444 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.0002726/0.02187, allocations: 143.9 kB / 0.7983 GB, free: 288 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.0223, allocations: 189.5 kB / 0.7985 GB, free: 96 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.0223, allocations: 1.125 kB / 0.7985 GB, free: 96 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.02247, allocations: 99.56 kB / 0.7986 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.02281, allocations: 37.61 kB / 0.7986 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008697/0.02368, allocations: 487.1 kB / 0.7991 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.504e-05/0.02376, allocations: 92.31 kB / 0.7992 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000164/0.02392, allocations: 40.86 kB / 0.7992 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/0.024, allocations: 32.48 kB / 0.7992 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of SimCode: time 1.403e-06/0.024, allocations: 0 / 0.7992 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of Templates: time 0.01056/0.03456, allocations: 5.446 MB / 0.8045 GB, free: 9.93 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=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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.217024951707572]