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.001909/0.001909, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002733/0.002733, allocations: 214.5 kB / 23.01 MB, free: 4.566 MB / 14.72 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.695/2.695, allocations: 476.7 MB / 0.7714 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",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.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.69 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3297, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003794/0.3335, allocations: 2.311 MB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00246/0.336, allocations: 1.441 MB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.3362, allocations: 11.88 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.3367, allocations: 171.3 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004728/0.3371, allocations: 223.1 kB / 1.289 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.3375, allocations: 179.6 kB / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004986/0.338, allocations: 438.8 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.3382, allocations: 69.42 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.3385, allocations: 195.2 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.3387, allocations: 195.2 kB / 1.29 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.3388, allocations: 24 kB / 1.29 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.3389, allocations: 87.89 kB / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.3391, allocations: 111.6 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.3392, allocations: 170.9 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.3398, allocations: 0.4979 MB / 1.291 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3398, allocations: 0 / 1.291 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3398, allocations: 0 / 1.291 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.3399, allocations: 4 kB / 1.291 GB, free: 5.141 MB / 0.9825 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.001131/0.341, allocations: 0.6595 MB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.341, allocations: 8.031 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.79e-05/0.3411, allocations: 56.59 kB / 1.291 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.3417, allocations: 356.7 kB / 1.292 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.3417, allocations: 20.38 kB / 1.292 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.3418, allocations: 19.92 kB / 1.292 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.3421, allocations: 173.4 kB / 1.292 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3421, allocations: 0 / 1.292 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.3421, allocations: 4 kB / 1.292 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3421, allocations: 4 kB / 1.292 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.3424, allocations: 91.89 kB / 1.292 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.3435, allocations: 0.7611 MB / 1.293 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.3438, allocations: 129.4 kB / 1.293 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.344, allocations: 49.69 kB / 1.293 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.344, allocations: 8 kB / 1.293 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.3442, allocations: 125 kB / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.3442, allocations: 0 / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005273/0.3448, allocations: 217.3 kB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.3448, allocations: 106.8 kB / 1.293 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007044/0.3455, allocations: 0.5955 MB / 1.294 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.3456, allocations: 37.69 kB / 1.294 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.3457, allocations: 208.4 kB / 1.294 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.3458, allocations: 35.72 kB / 1.294 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3459, allocations: 77.64 kB / 1.294 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3461, allocations: 366.7 kB / 1.295 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.3463, allocations: 104 kB / 1.295 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.3465, allocations: 173.8 kB / 1.295 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.3468, allocations: 179.4 kB / 1.295 GB, free: 376 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.3468, allocations: 0 / 1.295 GB, free: 376 kB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005907/0.3474, allocations: 353.7 kB / 1.295 GB, free: 16 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3474, allocations: 4 kB / 1.295 GB, free: 12 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.3475, allocations: 7.969 kB / 1.295 GB, free: 4 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3475, allocations: 4 kB / 1.295 GB, free: 0 / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.3477, allocations: 48.03 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3477, allocations: 7.938 kB / 1.295 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.3479, allocations: 39.86 kB / 1.295 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.3479, allocations: 16.08 kB / 1.295 GB, free: 15.89 MB / 0.9981 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.0002088/0.3481, allocations: 203.5 kB / 1.296 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.3482, allocations: 47.66 kB / 1.296 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.3486, allocations: 193.1 kB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3486, allocations: 0 / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3486, allocations: 4 kB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3486, allocations: 3.984 kB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.3489, allocations: 308.4 kB / 1.296 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3489, allocations: 4 kB / 1.296 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.349, allocations: 11.98 kB / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.349, allocations: 0 / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.349, allocations: 4 kB / 1.296 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.349, allocations: 3.938 kB / 1.296 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.349, allocations: 0 / 1.296 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.3493, allocations: 213.6 kB / 1.296 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.401e-05/0.3494, allocations: 51.7 kB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.3495, allocations: 0 / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3496, allocations: 23.97 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.3497, allocations: 19.97 kB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3497, allocations: 7.938 kB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004145/0.3501, allocations: 367.1 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3501, allocations: 0 / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003236/0.3504, allocations: 75.88 kB / 1.297 GB, free: 14.3 MB / 0.9981 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.001546/0.352, allocations: 431 kB / 1.297 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000444/0.3524, allocations: 190.2 kB / 1.297 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3524, allocations: 0 / 1.297 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.3526, allocations: 55.91 kB / 1.298 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.3531, allocations: 103.4 kB / 1.298 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.3542, allocations: 0.6672 MB / 1.298 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.3546, allocations: 0.8184 MB / 1.299 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/0.3547, allocations: 31.42 kB / 1.299 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.3547, allocations: 0 / 1.299 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of Templates: time 0.008575/0.3633, allocations: 5.269 MB / 1.304 GB, free: 6.871 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.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: 12.245323106995784]