Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.HeatExchangerLocation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan_aTop.vol.1..T|tan_bTop.vol.1..T|tan_aTop.vol.9..T|tan_aTop.vol.10..T|tan_aTop.vol.11..T|tan_aTop.vol.12..T|tan_bTop.vol.9..T|tan_bTop.vol.10..T|tan_bTop.vol.11..T|tan_bTop.vol.12..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerLocation") translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerLocation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan_aTop.vol.1..T|tan_bTop.vol.1..T|tan_aTop.vol.9..T|tan_aTop.vol.10..T|tan_aTop.vol.11..T|tan_aTop.vol.12..T|tan_bTop.vol.9..T|tan_bTop.vol.10..T|tan_bTop.vol.11..T|tan_bTop.vol.12..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerLocation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 109.5 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 193.6 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.546/2.546, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.05 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7051/0.7064, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerLocation): time 0.09733/0.8038, allocations: 109.6 MB / 1.315 GB, free: 15.57 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03786/0.8417, allocations: 31.52 MB / 1.346 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004956/0.8467, allocations: 155 kB / 1.346 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004928/0.8517, allocations: 1.75 MB / 1.348 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01222/0.8639, allocations: 4.395 MB / 1.352 GB, free: 9.637 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008887/0.8728, allocations: 3.542 MB / 1.356 GB, free: 6.109 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.04698/0.9198, allocations: 56.43 MB / 1.411 GB, free: 13.54 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03842/0.9583, allocations: 28.05 MB / 1.438 GB, free: 1.32 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03306/0.9914, allocations: 19.21 MB / 1.457 GB, free: 14.16 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02725/1.019, allocations: 16.7 MB / 1.473 GB, free: 13.4 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.009457/1.028, allocations: 2.766 MB / 1.476 GB, free: 10.63 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01872/1.047, allocations: 4.984 MB / 1.481 GB, free: 5.645 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.01136/1.058, allocations: 6.428 MB / 1.487 GB, free: 15.2 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.02596/1.084, allocations: 12.91 MB / 1.5 GB, free: 2.242 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.04984/1.134, allocations: 39.46 MB / 1.538 GB, free: 10.67 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/1.134, allocations: 0 / 1.538 GB, free: 10.67 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.824e-06/1.134, allocations: 0 / 1.538 GB, free: 10.67 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.001218/1.136, allocations: 0 / 1.538 GB, free: 10.67 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4015 * Number of variables: 4015 Notification: Performance of Generate backend data structure: time 0.0639/1.199, allocations: 22.9 MB / 1.561 GB, free: 3.625 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/1.199, allocations: 8.031 kB / 1.561 GB, free: 3.617 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/1.212, allocations: 2.296 MB / 1.563 GB, free: 1.297 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.191/2.403, allocations: 19.26 MB / 1.582 GB, free: 305.2 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001526/2.404, allocations: 1.185 MB / 1.583 GB, free: 304.7 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00807/2.412, allocations: 1.583 MB / 1.585 GB, free: 304.2 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04571/2.458, allocations: 24.13 MB / 1.608 GB, free: 288.5 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004023/2.458, allocations: 58.88 kB / 1.608 GB, free: 288.4 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002648/2.461, allocations: 0.6542 MB / 1.609 GB, free: 287.8 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002808/2.461, allocations: 470.2 kB / 1.609 GB, free: 287.3 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03524/2.497, allocations: 21.22 MB / 1.63 GB, free: 266.1 MB / 1.279 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.1195/2.616, allocations: 99.41 MB / 1.727 GB, free: 162.2 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01948/2.636, allocations: 14.85 MB / 1.742 GB, free: 147.4 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01115/2.647, allocations: 9.421 MB / 1.751 GB, free: 137.9 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04839/2.695, allocations: 28.19 MB / 1.778 GB, free: 108.8 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.548e-05/2.695, allocations: 154.6 kB / 1.778 GB, free: 108.6 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006193/2.702, allocations: 0.9263 MB / 1.779 GB, free: 107.7 MB / 1.279 GB Notification: Performance of pre-optimization done (n=893): time 2.063e-05/2.702, allocations: 0 / 1.779 GB, free: 107.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=893): time 0.03418/2.736, allocations: 19.52 MB / 1.798 GB, free: 88.05 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/2.736, allocations: 142.4 kB / 1.799 GB, free: 87.89 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02383/2.76, allocations: 14.66 MB / 1.813 GB, free: 73.28 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.002497/2.762, allocations: 217.7 kB / 1.813 GB, free: 73.06 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.007653/2.77, allocations: 8.239 MB / 1.821 GB, free: 64.75 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.004196/2.774, allocations: 3.112 MB / 1.824 GB, free: 61.6 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005901/2.78, allocations: 2.552 MB / 1.827 GB, free: 59.03 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.699e-05/2.78, allocations: 305.1 kB / 1.827 GB, free: 58.73 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009126/2.789, allocations: 6.841 MB / 1.834 GB, free: 51.87 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01172/2.801, allocations: 10.81 MB / 1.844 GB, free: 39.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02193/2.823, allocations: 18.3 MB / 1.862 GB, free: 19.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/2.823, allocations: 40 kB / 1.862 GB, free: 19.16 MB / 1.279 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.03652/2.86, allocations: 19.89 MB / 1.882 GB, free: 15.17 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 9.343e-05/2.86, allocations: 64.06 kB / 1.882 GB, free: 15.11 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/2.86, allocations: 120 kB / 1.882 GB, free: 14.99 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/2.862, allocations: 0.8061 MB / 1.882 GB, free: 14.18 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01269/2.874, allocations: 2.98 MB / 1.885 GB, free: 11.19 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009005/2.883, allocations: 8.385 MB / 1.894 GB, free: 2.512 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01304/2.897, allocations: 0.7017 MB / 1.894 GB, free: 1.809 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002982/2.9, allocations: 0.5975 MB / 1.895 GB, free: 1.211 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02332/2.923, allocations: 13.09 MB / 1.908 GB, free: 4.098 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01605/2.939, allocations: 10.8 MB / 1.918 GB, free: 7.539 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02821/2.967, allocations: 18.3 MB / 1.936 GB, free: 3.445 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001372/2.967, allocations: 36 kB / 1.936 GB, free: 3.41 MB / 1.342 GB Notification: Performance of matching and sorting (n=1659) (initialization_lambda0): time 0.04016/3.008, allocations: 19.87 MB / 1.955 GB, free: 15.43 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-05/3.008, allocations: 60.03 kB / 1.956 GB, free: 15.37 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/3.008, allocations: 128 kB / 1.956 GB, free: 15.25 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/3.009, allocations: 0.7712 MB / 1.956 GB, free: 14.47 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01262/3.022, allocations: 2.987 MB / 1.959 GB, free: 11.48 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/3.032, allocations: 9.585 MB / 1.969 GB, free: 1.48 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01259/3.045, allocations: 0.6861 MB / 1.969 GB, free: 0.7969 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002493/3.047, allocations: 0.5936 MB / 1.97 GB, free: 208 kB / 1.373 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 561 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1607): * Single equations (assignments): 1604 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,24,100.0%), (1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.003278/3.051, allocations: 0.9842 MB / 1.971 GB, free: 15.2 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005015/3.056, allocations: 1.37 MB / 1.972 GB, free: 13.82 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02645/3.082, allocations: 14.68 MB / 1.987 GB, free: 15.11 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02136/3.104, allocations: 12.2 MB / 1.999 GB, free: 2.789 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.463e-05/3.104, allocations: 0 / 1.999 GB, free: 2.789 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009329/3.113, allocations: 3.135 MB / 2.002 GB, free: 15.61 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004731/3.118, allocations: 191.9 kB / 2.002 GB, free: 15.43 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01033/3.128, allocations: 0.4912 MB / 2.002 GB, free: 14.93 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002016/3.13, allocations: 0.5296 MB / 2.003 GB, free: 14.4 MB / 1.42 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02952/3.16, allocations: 14.25 MB / 2.017 GB, free: 116 kB / 1.42 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03753/3.197, allocations: 22.17 MB / 2.038 GB, free: 9.855 MB / 1.451 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009194/3.206, allocations: 6.326 MB / 2.044 GB, free: 3.52 MB / 1.451 GB Notification: Performance of sorting global known variables: time 0.01816/3.225, allocations: 10.2 MB / 2.054 GB, free: 9.367 MB / 1.467 GB Notification: Performance of Backend: time 5.21e-07/3.225, allocations: 0 / 2.054 GB, free: 9.367 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.04321/3.268, allocations: 21.34 MB / 2.075 GB, free: 4.086 MB / 1.483 GB Notification: Performance of SimCode: time 0.08528/3.353, allocations: 41.56 MB / 2.116 GB, free: 10.74 MB / 1.529 GB Notification: Performance of Templates: time 1.511/4.865, allocations: 376.8 MB / 2.484 GB, free: 230.7 MB / 1.545 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerLocation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerLocation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_HeatExchangerLocation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches