Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.001152/0.001152, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001763/0.001763, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.001/1.001, allocations: 177.1 MB / 204.6 MB, free: 5.656 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.844/1.844, allocations: 359 MB / 0.6055 GB, free: 11.01 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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.[0-9,]+.|booTimTabTwi.y.[0-9,]+.|booTimTabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.[0-9,]+.|booTimTabTwi.y.[0-9,]+.|booTimTabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.08e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001369/0.00139, allocations: 0.8502 MB / 0.7879 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.002959, allocations: 1.503 MB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.724e-05/0.003046, allocations: 0 / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.003508, allocations: 202.1 kB / 0.7896 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.003617, allocations: 117.1 kB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007809/0.004398, allocations: 370.2 kB / 0.7901 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008591/0.005257, allocations: 0.8714 MB / 0.7909 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.005423, allocations: 52.55 kB / 0.791 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004665/0.00589, allocations: 447.5 kB / 0.7914 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/0.006246, allocations: 275.5 kB / 0.7917 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.006352, allocations: 44 kB / 0.7917 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.006576, allocations: 127.8 kB / 0.7918 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003303/0.006906, allocations: 367.2 kB / 0.7922 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.007111, allocations: 203.5 kB / 0.7924 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006612/0.007773, allocations: 0.7012 MB / 0.7931 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.007775, allocations: 7.938 kB / 0.7931 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.007776, allocations: 0 / 0.7931 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.007784, allocations: 0.5312 kB / 0.7931 GB, free: 6.715 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001058/0.008842, allocations: 0.906 MB / 0.7939 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.008878, allocations: 12.03 kB / 0.794 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.009048, allocations: 61.47 kB / 0.794 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.009517, allocations: 422.5 kB / 0.7944 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.00954, allocations: 24.61 kB / 0.7944 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.918e-05/0.009609, allocations: 36.91 kB / 0.7945 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.009881, allocations: 196.8 kB / 0.7947 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.00989, allocations: 4.125 kB / 0.7947 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.00991, allocations: 8.359 kB / 0.7947 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.00992, allocations: 4.375 kB / 0.7947 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.01005, allocations: 88.91 kB / 0.7948 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.01116, allocations: 1.075 MB / 0.7958 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.01147, allocations: 258.1 kB / 0.7961 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.01157, allocations: 79.81 kB / 0.7961 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.01158, allocations: 4 kB / 0.7961 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002727/0.01185, allocations: 280.9 kB / 0.7964 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.01186, allocations: 0.6875 kB / 0.7964 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.000597/0.01245, allocations: 441.1 kB / 0.7968 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.01251, allocations: 121.1 kB / 0.7969 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/0.01309, allocations: 0.5103 MB / 0.7974 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.465e-05/0.01315, allocations: 45.7 kB / 0.7975 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.01334, allocations: 288.3 kB / 0.7978 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.01338, allocations: 47.64 kB / 0.7978 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.01354, allocations: 187.2 kB / 0.798 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.0137, allocations: 0.5579 MB / 0.7985 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-05/0.01379, allocations: 63.83 kB / 0.7986 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007968/0.01459, allocations: 1.68 MB / 0.8002 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.01482, allocations: 265.2 kB / 0.8005 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.01482, allocations: 4.562 kB / 0.8005 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004002/0.01522, allocations: 324.2 kB / 0.8008 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.01524, allocations: 11.98 kB / 0.8008 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01525, allocations: 4 kB / 0.8008 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.01526, allocations: 5.281 kB / 0.8008 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.01539, allocations: 43.92 kB / 0.8009 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.01541, allocations: 11.98 kB / 0.8009 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004767/0.01588, allocations: 96.75 kB / 0.801 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.0159, allocations: 16 kB / 0.801 GB, free: 13.77 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001567/0.01606, allocations: 222.5 kB / 0.8012 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.01611, allocations: 55.72 kB / 0.8012 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.01616, allocations: 44.38 kB / 0.8013 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01616, allocations: 0 / 0.8013 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.01617, allocations: 4 kB / 0.8013 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.01618, allocations: 1.75 kB / 0.8013 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.01642, allocations: 312.4 kB / 0.8016 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01642, allocations: 0 / 0.8016 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/0.01643, allocations: 11.98 kB / 0.8016 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01644, allocations: 7.938 kB / 0.8016 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.01645, allocations: 11.34 kB / 0.8016 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01645, allocations: 0 / 0.8016 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.01645, allocations: 0 / 0.8016 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.01685, allocations: 417.8 kB / 0.802 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.0169, allocations: 51.64 kB / 0.8021 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.01693, allocations: 8 kB / 0.8021 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.017, allocations: 11.98 kB / 0.8021 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.01706, allocations: 27.91 kB / 0.8021 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.01708, allocations: 8 kB / 0.8021 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002461/0.01732, allocations: 328 kB / 0.8024 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01732, allocations: 0 / 0.8024 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003318/0.01765, allocations: 113 kB / 0.8025 GB, free: 12.1 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.000184/0.01784, allocations: 146.8 kB / 0.8027 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003314/0.01817, allocations: 237.3 kB / 0.8029 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01817, allocations: 0 / 0.8029 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.0183, allocations: 108.1 kB / 0.803 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.01853, allocations: 50.72 kB / 0.8031 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008831/0.01941, allocations: 0.6836 MB / 0.8037 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.303e-05/0.0195, allocations: 125.1 kB / 0.8038 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.01964, allocations: 71.09 kB / 0.8039 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.01986, allocations: 40.5 kB / 0.804 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of SimCode: time 1.203e-06/0.01986, allocations: 0 / 0.804 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of Templates: time 0.01059/0.03045, allocations: 8.631 MB / 0.8124 GB, free: 2.109 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_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.371162366122007]