Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 106.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 190.7 kB / 20.78 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 249.4 MB, free: 3.266 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.89 kB / 1.059 GB, free: 372 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3265, allocations: 160.7 MB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003815/0.3303, allocations: 2.283 MB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002677/0.333, allocations: 1.287 MB / 1.22 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.3332, allocations: 7.938 kB / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006408/0.3338, allocations: 171.3 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004688/0.3343, allocations: 179.2 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006954/0.335, allocations: 255.1 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005508/0.3356, allocations: 407 kB / 1.221 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.3358, allocations: 57.28 kB / 1.221 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.336, allocations: 187.2 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.3363, allocations: 195.2 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.3363, allocations: 24 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.3365, allocations: 71.98 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.3367, allocations: 119.6 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.3368, allocations: 167 kB / 1.221 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005925/0.3374, allocations: 497.9 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3374, allocations: 0 / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3374, allocations: 3.938 kB / 1.222 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.3374, allocations: 0 / 1.222 GB, free: 9.43 MB / 0.9669 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.001225/0.3387, allocations: 0.7232 MB / 1.223 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3387, allocations: 8.031 kB / 1.223 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.3388, allocations: 52.59 kB / 1.223 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005808/0.3394, allocations: 414.6 kB / 1.223 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.3394, allocations: 8.375 kB / 1.223 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.3394, allocations: 19.94 kB / 1.223 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.3398, allocations: 173.6 kB / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3398, allocations: 0 / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.3398, allocations: 12 kB / 1.223 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3398, allocations: 4 kB / 1.223 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.34, allocations: 87.89 kB / 1.223 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.3412, allocations: 0.7933 MB / 1.224 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.3415, allocations: 125.4 kB / 1.224 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3416, allocations: 53.64 kB / 1.224 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.3416, allocations: 0 / 1.224 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.3419, allocations: 137.1 kB / 1.224 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.3419, allocations: 0 / 1.224 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.00057/0.3425, allocations: 217.3 kB / 1.225 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/0.3426, allocations: 110.8 kB / 1.225 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000658/0.3432, allocations: 0.576 MB / 1.225 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.3433, allocations: 37.69 kB / 1.225 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.3434, allocations: 196.5 kB / 1.225 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.3435, allocations: 35.72 kB / 1.226 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.3436, allocations: 77.64 kB / 1.226 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3438, allocations: 358.7 kB / 1.226 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.344, allocations: 107.9 kB / 1.226 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.3442, allocations: 167 kB / 1.226 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.3445, allocations: 190.9 kB / 1.226 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3445, allocations: 0 / 1.226 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005723/0.3451, allocations: 350.9 kB / 1.227 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3451, allocations: 4 kB / 1.227 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3451, allocations: 4 kB / 1.227 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3451, allocations: 0 / 1.227 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.3453, allocations: 47.91 kB / 1.227 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.3454, allocations: 4 kB / 1.227 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.3456, allocations: 43.95 kB / 1.227 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.3456, allocations: 12 kB / 1.227 GB, free: 4.039 MB / 0.9669 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,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,tanSta.gre.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.0002176/0.3458, allocations: 199.5 kB / 1.227 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.3459, allocations: 43.72 kB / 1.227 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004207/0.3463, allocations: 192.9 kB / 1.227 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3463, allocations: 4 kB / 1.227 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3463, allocations: 0.625 kB / 1.227 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3463, allocations: 0 / 1.227 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.3466, allocations: 337.4 kB / 1.228 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3466, allocations: 0 / 1.228 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.3467, allocations: 8 kB / 1.228 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3467, allocations: 4 kB / 1.228 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.3467, allocations: 3.984 kB / 1.228 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3467, allocations: 4 kB / 1.228 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3467, allocations: 0 / 1.228 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.3471, allocations: 221.5 kB / 1.228 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.3472, allocations: 116.8 kB / 1.228 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.868e-05/0.3472, allocations: 11.98 kB / 1.228 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3474, allocations: 15.98 kB / 1.228 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.3474, allocations: 23.97 kB / 1.228 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3475, allocations: 4 kB / 1.228 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000409/0.3479, allocations: 367.1 kB / 1.228 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3479, allocations: 0 / 1.228 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000325/0.3482, allocations: 63.89 kB / 1.228 GB, free: 2.348 MB / 0.9669 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 (12): * Single equations (assignments): 8 * 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.001548/0.3497, allocations: 429.9 kB / 1.229 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000463/0.3502, allocations: 191 kB / 1.229 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3502, allocations: 4.062 kB / 1.229 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.3503, allocations: 47.92 kB / 1.229 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.3509, allocations: 95.97 kB / 1.229 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.3519, allocations: 0.6224 MB / 1.23 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.3523, allocations: 0.8029 MB / 1.23 GB, free: 280 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001387/0.3525, allocations: 67.17 kB / 1.231 GB, free: 216 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.3525, allocations: 35.42 kB / 1.231 GB, free: 180 kB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.3525, allocations: 0 / 1.231 GB, free: 180 kB / 0.9669 GB Notification: Performance of Templates: time 0.009924/0.3625, allocations: 4.828 MB / 1.235 GB, free: 11.39 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.360306069254875]