Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.0009467/0.0009467, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.000979/0.000979, allocations: 171.4 kB / 24.87 MB, free: 8.836 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.899/0.899, allocations: 177.1 MB / 205.3 MB, free: 5.125 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.829/1.829, allocations: 359 MB / 0.6063 GB, free: 10.92 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.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.[0-9,]+.|tanSta.THig|tanSta.TLow|tanSta.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.[0-9,]+.|tanSta.THig|tanSta.TLow|tanSta.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 3.828 kB / 0.7883 GB, free: 12.23 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.528e-05, allocations: 5.766 kB / 0.7883 GB, free: 12.23 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003638/0.003663, allocations: 2.254 MB / 0.7905 GB, free: 9.977 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.00236/0.006023, allocations: 1.384 MB / 0.7919 GB, free: 8.59 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.006207, allocations: 7.938 kB / 0.7919 GB, free: 8.582 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.0004664/0.006674, allocations: 168.1 kB / 0.792 GB, free: 8.418 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.0004989/0.007173, allocations: 244 kB / 0.7923 GB, free: 8.18 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.007534, allocations: 179.4 kB / 0.7924 GB, free: 8.004 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.008004, allocations: 443.6 kB / 0.7928 GB, free: 7.57 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.008179, allocations: 65.53 kB / 0.7929 GB, free: 7.512 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009141/0.009093, allocations: 319.4 kB / 0.7932 GB, free: 7.234 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003507/0.009444, allocations: 160.2 kB / 0.7934 GB, free: 7.078 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.009486, allocations: 27.41 kB / 0.7934 GB, free: 7.055 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.009641, allocations: 75.89 kB / 0.7935 GB, free: 6.98 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.009769, allocations: 119.5 kB / 0.7936 GB, free: 6.863 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.00987, allocations: 87.7 kB / 0.7937 GB, free: 6.777 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.01035, allocations: 330.6 kB / 0.794 GB, free: 6.453 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.01035, allocations: 0 / 0.794 GB, free: 6.453 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01035, allocations: 0 / 0.794 GB, free: 6.453 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.01036, allocations: 4 kB / 0.794 GB, free: 6.449 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009326/0.01129, allocations: 0.7523 MB / 0.7947 GB, free: 5.66 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.01133, allocations: 8.031 kB / 0.7947 GB, free: 5.652 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.01143, allocations: 58.31 kB / 0.7948 GB, free: 5.598 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.01188, allocations: 333.3 kB / 0.7951 GB, free: 5.246 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.0119, allocations: 8.375 kB / 0.7951 GB, free: 5.238 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.01193, allocations: 21.7 kB / 0.7951 GB, free: 5.219 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.0122, allocations: 179.5 kB / 0.7953 GB, free: 5.016 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.01221, allocations: 7.938 kB / 0.7953 GB, free: 5.008 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.01223, allocations: 5.594 kB / 0.7953 GB, free: 5.004 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.01224, allocations: 4 kB / 0.7953 GB, free: 5 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.58e-05/0.01233, allocations: 47.83 kB / 0.7954 GB, free: 4.953 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.01316, allocations: 0.7255 MB / 0.7961 GB, free: 4.191 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.01333, allocations: 99.59 kB / 0.7962 GB, free: 4.07 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.01339, allocations: 43.88 kB / 0.7962 GB, free: 4.02 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.0134, allocations: 0 / 0.7962 GB, free: 4.02 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.01357, allocations: 125.6 kB / 0.7963 GB, free: 3.875 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.01357, allocations: 0 / 0.7963 GB, free: 3.875 MB / 0.7449 GB Notification: Performance of matching and sorting (n=12): time 0.0003313/0.0139, allocations: 166.1 kB / 0.7965 GB, free: 3.707 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.01396, allocations: 110.8 kB / 0.7966 GB, free: 3.574 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004597/0.01441, allocations: 475 kB / 0.797 GB, free: 3.09 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.01444, allocations: 33.7 kB / 0.7971 GB, free: 3.051 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.01462, allocations: 272.5 kB / 0.7973 GB, free: 2.781 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.01466, allocations: 39.72 kB / 0.7974 GB, free: 2.742 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.01479, allocations: 75.31 kB / 0.7974 GB, free: 2.66 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.01496, allocations: 0.5363 MB / 0.798 GB, free: 2.113 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.341e-05/0.01504, allocations: 31.97 kB / 0.798 GB, free: 2.082 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.01518, allocations: 199.5 kB / 0.7982 GB, free: 1.84 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.0154, allocations: 128 kB / 0.7983 GB, free: 1.699 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.0154, allocations: 1.312 kB / 0.7983 GB, free: 1.699 MB / 0.7449 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000339/0.01574, allocations: 217.2 kB / 0.7985 GB, free: 1.48 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.01577, allocations: 11.38 kB / 0.7985 GB, free: 1.473 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.01578, allocations: 5.156 kB / 0.7985 GB, free: 1.469 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.01579, allocations: 4.109 kB / 0.7985 GB, free: 1.465 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.01596, allocations: 47.91 kB / 0.7986 GB, free: 1.418 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01597, allocations: 8.906 kB / 0.7986 GB, free: 1.41 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.01612, allocations: 27.88 kB / 0.7986 GB, free: 1.383 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.01615, allocations: 18.3 kB / 0.7986 GB, free: 1.367 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,tanSta.gre.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001362/0.01629, allocations: 174.5 kB / 0.7988 GB, free: 1.188 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.01635, allocations: 43.72 kB / 0.7988 GB, free: 1.145 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.01662, allocations: 165 kB / 0.799 GB, free: 0.9727 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01662, allocations: 11.31 kB / 0.799 GB, free: 0.9648 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01663, allocations: 0 / 0.799 GB, free: 0.9648 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01663, allocations: 0 / 0.799 GB, free: 0.9648 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.01687, allocations: 213 kB / 0.7992 GB, free: 0.7305 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.01687, allocations: 0 / 0.7992 GB, free: 0.7305 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.01692, allocations: 8.5 kB / 0.7992 GB, free: 0.7227 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01692, allocations: 48 / 0.7992 GB, free: 0.7227 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.01693, allocations: 7.984 kB / 0.7992 GB, free: 0.7148 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.01694, allocations: 7.984 kB / 0.7992 GB, free: 0.707 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.01694, allocations: 4.906 kB / 0.7992 GB, free: 0.7031 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.0172, allocations: 202.5 kB / 0.7994 GB, free: 492 kB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.01726, allocations: 47.64 kB / 0.7995 GB, free: 444 kB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.0173, allocations: 8.5 kB / 0.7995 GB, free: 436 kB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.335e-05/0.01739, allocations: 16.55 kB / 0.7995 GB, free: 420 kB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.01745, allocations: 24.47 kB / 0.7995 GB, free: 396 kB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.01747, allocations: 9.234 kB / 0.7995 GB, free: 388 kB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.0002426/0.01771, allocations: 287 kB / 0.7998 GB, free: 104 kB / 0.7449 GB Notification: Performance of sort global known variables: time 2e-07/0.01771, allocations: 0 / 0.7998 GB, free: 104 kB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0003269/0.01804, allocations: 71.89 kB / 0.7999 GB, free: 32 kB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001218/0.01925, allocations: 391.5 kB / 0.8003 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.01949, allocations: 112.4 kB / 0.8004 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.0195, allocations: 0 / 0.8004 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.629e-05/0.01957, allocations: 60.02 kB / 0.8004 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.02001, allocations: 110.3 kB / 0.8005 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009498/0.02096, allocations: 0.5503 MB / 0.8011 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.33e-05/0.02104, allocations: 112.6 kB / 0.8012 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.02117, allocations: 43.95 kB / 0.8012 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.02139, allocations: 150.7 kB / 0.8014 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of SimCode: time 6.61e-07/0.02139, allocations: 0 / 0.8014 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of Templates: time 0.01059/0.03198, allocations: 5.716 MB / 0.8069 GB, free: 8.996 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.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.160358161199838]