Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.001483/0.001483, allocations: 113.9 kB / 18.94 MB, free: 2.789 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.001585/0.001585, allocations: 190.6 kB / 22.23 MB, free: 5.227 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.326/1.326, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.923/2.923, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 71.53 kB / 1.145 GB, free: 30.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3523, allocations: 174.9 MB / 1.316 GB, free: 9.695 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05705/0.4094, allocations: 57.04 MB / 1.372 GB, free: 464 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02478/0.4341, allocations: 18.17 MB / 1.389 GB, free: 14.23 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003269/0.4374, allocations: 99.19 kB / 1.39 GB, free: 14.13 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002824/0.4402, allocations: 0.9313 MB / 1.39 GB, free: 13.2 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007705/0.4479, allocations: 2.651 MB / 1.393 GB, free: 10.53 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004242/0.4522, allocations: 1.606 MB / 1.395 GB, free: 8.934 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02357/0.4757, allocations: 21.84 MB / 1.416 GB, free: 3.031 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01035/0.4861, allocations: 7.09 MB / 1.423 GB, free: 11.82 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01559/0.5017, allocations: 7.52 MB / 1.43 GB, free: 4.324 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01134/0.513, allocations: 6.588 MB / 1.437 GB, free: 13.71 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.002833/0.5159, allocations: 0.9375 MB / 1.438 GB, free: 12.77 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006628/0.5225, allocations: 1.741 MB / 1.439 GB, free: 11.03 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.003798/0.5263, allocations: 2.426 MB / 1.442 GB, free: 8.598 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.01011/0.5364, allocations: 4.727 MB / 1.446 GB, free: 3.852 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01877/0.5552, allocations: 13.27 MB / 1.459 GB, free: 6.543 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.5552, allocations: 0 / 1.459 GB, free: 6.543 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5552, allocations: 0 / 1.459 GB, free: 6.543 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004988/0.5557, allocations: 0 / 1.459 GB, free: 6.543 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02237/0.5781, allocations: 8.626 MB / 1.468 GB, free: 13.83 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5781, allocations: 12.03 kB / 1.468 GB, free: 13.82 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/0.5815, allocations: 0.8981 MB / 1.469 GB, free: 12.92 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/0.5953, allocations: 6.781 MB / 1.475 GB, free: 6.051 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004085/0.5957, allocations: 460.4 kB / 1.476 GB, free: 5.598 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001956/0.5977, allocations: 0.6014 MB / 1.476 GB, free: 4.996 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/0.6168, allocations: 9.032 MB / 1.485 GB, free: 11.64 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001395/0.6169, allocations: 15.88 kB / 1.485 GB, free: 11.62 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007592/0.6177, allocations: 264 kB / 1.485 GB, free: 11.37 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001733/0.6179, allocations: 183.9 kB / 1.485 GB, free: 11.19 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.6314, allocations: 7.461 MB / 1.493 GB, free: 3.719 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05953/0.6909, allocations: 36.02 MB / 1.528 GB, free: 13.62 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006714/0.6976, allocations: 4.002 MB / 1.532 GB, free: 9.625 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005016/0.7027, allocations: 3.046 MB / 1.535 GB, free: 6.57 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009682/0.7036, allocations: 214.1 kB / 1.535 GB, free: 6.363 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004294/0.7079, allocations: 2.39 MB / 1.537 GB, free: 3.938 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003437/0.7114, allocations: 401.1 kB / 1.538 GB, free: 3.543 MB / 1.232 GB Notification: Performance of pre-optimization done (n=317): time 1.76e-05/0.7114, allocations: 4 kB / 1.538 GB, free: 3.539 MB / 1.232 GB Notification: Performance of matching and sorting (n=317): time 0.01477/0.7261, allocations: 6.989 MB / 1.545 GB, free: 12.5 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.7262, allocations: 85.91 kB / 1.545 GB, free: 12.4 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00951/0.7357, allocations: 5.682 MB / 1.55 GB, free: 6.742 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.000801/0.7365, allocations: 89.7 kB / 1.55 GB, free: 6.648 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.00365/0.7402, allocations: 3.279 MB / 1.553 GB, free: 3.344 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001889/0.7421, allocations: 1.162 MB / 1.555 GB, free: 2.172 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/0.7436, allocations: 0.8624 MB / 1.555 GB, free: 1.297 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7437, allocations: 305.1 kB / 1.556 GB, free: 0.9961 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003711/0.7474, allocations: 2.16 MB / 1.558 GB, free: 14.83 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005068/0.7525, allocations: 3.701 MB / 1.561 GB, free: 10.43 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009037/0.7615, allocations: 6.315 MB / 1.568 GB, free: 3.395 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.734e-05/0.7616, allocations: 16 kB / 1.568 GB, free: 3.379 MB / 1.264 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01228/0.7738, allocations: 6.794 MB / 1.574 GB, free: 12.54 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.842e-05/0.7739, allocations: 53.83 kB / 1.574 GB, free: 12.48 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.338e-05/0.774, allocations: 52 kB / 1.574 GB, free: 12.43 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.775, allocations: 435.6 kB / 1.575 GB, free: 12 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/0.7787, allocations: 0.9983 MB / 1.576 GB, free: 11 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006276/0.785, allocations: 5.5 MB / 1.581 GB, free: 5.266 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004848/0.7899, allocations: 295.6 kB / 1.581 GB, free: 4.977 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000671/0.7905, allocations: 216 kB / 1.582 GB, free: 4.766 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004728/0.7953, allocations: 2.488 MB / 1.584 GB, free: 2.266 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/0.7969, allocations: 0.5513 MB / 1.585 GB, free: 1.711 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009277/0.8061, allocations: 5.259 MB / 1.59 GB, free: 12.39 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-05/0.8062, allocations: 31.98 kB / 1.59 GB, free: 12.36 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.8062, allocations: 4 kB / 1.59 GB, free: 12.36 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006755/0.8129, allocations: 4.516 MB / 1.594 GB, free: 7.734 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02286/0.8358, allocations: 12 MB / 1.606 GB, free: 11.59 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.8358, allocations: 7.984 kB / 1.606 GB, free: 11.59 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002808/0.8386, allocations: 0.6438 MB / 1.606 GB, free: 10.94 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000891/0.8395, allocations: 373.3 kB / 1.607 GB, free: 10.57 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000236/0.8397, allocations: 83.95 kB / 1.607 GB, free: 10.49 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006293/0.846, allocations: 5.424 MB / 1.612 GB, free: 4.844 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.846, allocations: 8.062 kB / 1.612 GB, free: 4.836 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6046/1.451, allocations: 7.773 MB / 1.62 GB, free: 278.8 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003241/1.454, allocations: 1.146 MB / 1.621 GB, free: 278.8 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009591/1.455, allocations: 71.14 kB / 1.621 GB, free: 278.8 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002827/1.458, allocations: 190.8 kB / 1.621 GB, free: 278.8 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004687/1.458, allocations: 207.1 kB / 1.621 GB, free: 278.8 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003056/1.458, allocations: 139.7 kB / 1.622 GB, free: 278.8 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.005401/1.464, allocations: 3.969 MB / 1.625 GB, free: 277.5 MB / 1.311 GB Notification: Performance of sort global known variables: time 7e-08/1.464, allocations: 0 / 1.625 GB, free: 277.5 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.006672/1.471, allocations: 2.03 MB / 1.627 GB, free: 277.4 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/1.472, allocations: 497.6 kB / 1.628 GB, free: 277.2 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.00756/1.479, allocations: 5.247 MB / 1.633 GB, free: 275.4 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.479, allocations: 9.359 kB / 1.633 GB, free: 275.4 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.00326/1.483, allocations: 2.374 MB / 1.635 GB, free: 274.4 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01461/1.497, allocations: 3.39 MB / 1.639 GB, free: 273.6 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/1.517, allocations: 14.17 MB / 1.652 GB, free: 267.6 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003087/1.52, allocations: 4.636 MB / 1.657 GB, free: 265.9 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.005199/1.525, allocations: 2.082 MB / 1.659 GB, free: 265.7 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/1.527, allocations: 465 kB / 1.659 GB, free: 265.6 MB / 1.311 GB Notification: Performance of SimCode: time 1.052e-06/1.527, allocations: 0 / 1.659 GB, free: 265.6 MB / 1.311 GB Notification: Performance of Templates: time 0.1377/1.664, allocations: 120.7 MB / 1.777 GB, free: 150.8 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.535840072669089]