Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001406/0.001406, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001506/0.001506, allocations: 161 kB / 24.17 MB, free: 332 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 0.9463/0.9463, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.842/1.842, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.223e-05, allocations: 2.312 kB / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002766/0.002788, allocations: 2.25 MB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.004655, allocations: 1.415 MB / 0.7636 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.004811, allocations: 7.938 kB / 0.7636 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004107/0.005222, allocations: 175.4 kB / 0.7638 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.005612, allocations: 228.9 kB / 0.764 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.00592, allocations: 192.1 kB / 0.7642 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003684/0.006288, allocations: 430.8 kB / 0.7646 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.006436, allocations: 64.27 kB / 0.7646 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000712/0.007149, allocations: 312.8 kB / 0.7649 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.007317, allocations: 139.6 kB / 0.7651 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.007349, allocations: 25.03 kB / 0.7651 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.007483, allocations: 83.84 kB / 0.7652 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.007578, allocations: 119.6 kB / 0.7653 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.347e-05/0.007651, allocations: 92.2 kB / 0.7654 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.008032, allocations: 318.8 kB / 0.7657 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.008035, allocations: 1.781 kB / 0.7657 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.72e-07/0.008036, allocations: 0 / 0.7657 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.008041, allocations: 0 / 0.7657 GB, free: 0.918 MB / 0.7136 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.0006282/0.008669, allocations: 0.6203 MB / 0.7663 GB, free: 280 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.0087, allocations: 12.03 kB / 0.7663 GB, free: 268 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.008754, allocations: 36.84 kB / 0.7663 GB, free: 232 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.009074, allocations: 296.7 kB / 0.7666 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.009096, allocations: 13.12 kB / 0.7666 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.009115, allocations: 12.38 kB / 0.7666 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.009321, allocations: 190.9 kB / 0.7668 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.009331, allocations: 3.938 kB / 0.7668 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.009344, allocations: 8 kB / 0.7668 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.009351, allocations: 4.969 kB / 0.7668 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.827e-05/0.009409, allocations: 41.56 kB / 0.7669 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.009946, allocations: 0.4905 MB / 0.7674 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.01009, allocations: 172.1 kB / 0.7675 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.01012, allocations: 25.72 kB / 0.7675 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.01013, allocations: 4.922 kB / 0.7675 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.01027, allocations: 107.9 kB / 0.7676 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.714e-06/0.01027, allocations: 1.219 kB / 0.7677 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001745/0.01045, allocations: 115.2 kB / 0.7678 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.01049, allocations: 105.6 kB / 0.7679 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.01075, allocations: 406 kB / 0.7682 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.01077, allocations: 29.7 kB / 0.7683 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.01085, allocations: 165.4 kB / 0.7684 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.01088, allocations: 39.72 kB / 0.7685 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.01095, allocations: 77.5 kB / 0.7685 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.01104, allocations: 354.7 kB / 0.7689 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.544e-05/0.01109, allocations: 33.36 kB / 0.7689 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.0112, allocations: 164.4 kB / 0.7691 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.01131, allocations: 119.2 kB / 0.7692 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01132, allocations: 0 / 0.7692 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001989/0.01152, allocations: 171 kB / 0.7693 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.01153, allocations: 7.938 kB / 0.7694 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.01154, allocations: 4.812 kB / 0.7694 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.01156, allocations: 4 kB / 0.7694 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.01168, allocations: 43.97 kB / 0.7694 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.01169, allocations: 4.438 kB / 0.7694 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.662e-05/0.01179, allocations: 34.44 kB / 0.7694 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.0118, allocations: 4 kB / 0.7694 GB, free: 12.79 MB / 0.7292 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.0001156/0.01192, allocations: 142.5 kB / 0.7696 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.01195, allocations: 23.97 kB / 0.7696 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.01213, allocations: 119.4 kB / 0.7697 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.01215, allocations: 4.5 kB / 0.7697 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.01215, allocations: 3.984 kB / 0.7697 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01215, allocations: 0 / 0.7697 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.01233, allocations: 161.7 kB / 0.7699 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.01233, allocations: 8 kB / 0.7699 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.01237, allocations: 9.797 kB / 0.7699 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.01237, allocations: 3.984 kB / 0.7699 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01238, allocations: 7.984 kB / 0.7699 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01238, allocations: 4 kB / 0.7699 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.01239, allocations: 3.938 kB / 0.7699 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.01252, allocations: 131.7 kB / 0.77 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.01257, allocations: 39.69 kB / 0.7701 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.0126, allocations: 8 kB / 0.7701 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.689e-05/0.01266, allocations: 14.8 kB / 0.7701 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.01272, allocations: 27.89 kB / 0.7701 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.01273, allocations: 8 kB / 0.7701 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001292/0.01286, allocations: 152.7 kB / 0.7703 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01286, allocations: 0 / 0.7703 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002126/0.01307, allocations: 75.88 kB / 0.7704 GB, free: 11.8 MB / 0.7292 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.001295/0.01437, allocations: 0.5153 MB / 0.7709 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.01461, allocations: 109.9 kB / 0.771 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/0.01462, allocations: 4.656 kB / 0.771 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.769e-05/0.01468, allocations: 41.59 kB / 0.771 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.01497, allocations: 106.7 kB / 0.7711 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009254/0.0159, allocations: 0.5481 MB / 0.7716 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.693e-05/0.01596, allocations: 116.6 kB / 0.7718 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.01608, allocations: 52.06 kB / 0.7718 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.01623, allocations: 115.3 kB / 0.7719 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of SimCode: time 1.693e-06/0.01623, allocations: 0.9062 kB / 0.7719 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.009424/0.02566, allocations: 5.466 MB / 0.7773 GB, free: 5.168 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 4.950355347245932]