Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.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_10_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_10_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.001167/0.001167, allocations: 110.2 kB / 16.41 MB, free: 6.523 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.001218/0.001218, allocations: 190.7 kB / 17.35 MB, free: 5.727 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.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.775/0.7765, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerLocation): time 0.1117/0.8882, allocations: 109.6 MB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04312/0.9314, allocations: 31.51 MB / 1.305 GB, free: 6.273 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004555/0.936, allocations: 143.2 kB / 1.305 GB, free: 6.133 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005007/0.941, allocations: 1.809 MB / 1.307 GB, free: 4.312 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.9528, allocations: 4.617 MB / 1.312 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008575/0.9614, allocations: 3.561 MB / 1.315 GB, free: 12.13 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.05453/1.016, allocations: 56.44 MB / 1.37 GB, free: 3.539 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03861/1.055, allocations: 28.03 MB / 1.398 GB, free: 7.355 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03266/1.087, allocations: 19.2 MB / 1.416 GB, free: 4.207 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02577/1.113, allocations: 16.69 MB / 1.433 GB, free: 3.457 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.007853/1.121, allocations: 2.77 MB / 1.435 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.017/1.138, allocations: 4.973 MB / 1.44 GB, free: 11.71 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.01258/1.151, allocations: 6.44 MB / 1.446 GB, free: 5.254 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.02516/1.176, allocations: 12.91 MB / 1.459 GB, free: 8.293 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.04721/1.223, allocations: 39.57 MB / 1.498 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/1.223, allocations: 0 / 1.498 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.725e-06/1.223, allocations: 0 / 1.498 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.001251/1.224, allocations: 4 kB / 1.498 GB, free: 0.5977 MB / 1.217 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.06109/1.285, allocations: 23.46 MB / 1.521 GB, free: 8.977 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/1.285, allocations: 16.61 kB / 1.521 GB, free: 8.961 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/1.298, allocations: 2.39 MB / 1.523 GB, free: 6.555 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04004/1.338, allocations: 19.37 MB / 1.542 GB, free: 3.086 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/1.339, allocations: 1.179 MB / 1.543 GB, free: 1.906 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005178/1.344, allocations: 1.586 MB / 1.545 GB, free: 328 kB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.154/2.498, allocations: 24.14 MB / 1.568 GB, free: 334.2 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008182/2.499, allocations: 55.09 kB / 1.568 GB, free: 334.1 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005397/2.505, allocations: 0.6575 MB / 1.569 GB, free: 333.7 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003812/2.505, allocations: 460.3 kB / 1.569 GB, free: 333.6 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04368/2.549, allocations: 21.22 MB / 1.59 GB, free: 324.6 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.1385/2.687, allocations: 99.6 MB / 1.687 GB, free: 230.3 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02059/2.708, allocations: 14.86 MB / 1.702 GB, free: 215.5 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01312/2.721, allocations: 9.427 MB / 1.711 GB, free: 206.1 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05683/2.778, allocations: 28.22 MB / 1.739 GB, free: 177.3 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/2.778, allocations: 154.6 kB / 1.739 GB, free: 177.1 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006836/2.785, allocations: 0.9504 MB / 1.74 GB, free: 176.4 MB / 1.279 GB Notification: Performance of pre-optimization done (n=893): time 2.579e-05/2.785, allocations: 0 / 1.74 GB, free: 176.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=893): time 0.04217/2.827, allocations: 19.6 MB / 1.759 GB, free: 156.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/2.827, allocations: 142.4 kB / 1.759 GB, free: 156.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02588/2.853, allocations: 14.67 MB / 1.773 GB, free: 142 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.002328/2.856, allocations: 225.7 kB / 1.773 GB, free: 141.8 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.007714/2.863, allocations: 8.432 MB / 1.782 GB, free: 134.2 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.004151/2.867, allocations: 3.272 MB / 1.785 GB, free: 131.2 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007999/2.875, allocations: 2.565 MB / 1.787 GB, free: 128.6 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.102e-05/2.876, allocations: 301.1 kB / 1.788 GB, free: 128.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01064/2.886, allocations: 6.83 MB / 1.794 GB, free: 121.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0131/2.899, allocations: 10.82 MB / 1.805 GB, free: 108.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02401/2.923, allocations: 18.29 MB / 1.823 GB, free: 88.78 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/2.924, allocations: 36 kB / 1.823 GB, free: 88.74 MB / 1.279 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.03947/2.963, allocations: 19.97 MB / 1.842 GB, free: 68.68 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/2.963, allocations: 59.94 kB / 1.842 GB, free: 68.62 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001889/2.963, allocations: 124 kB / 1.842 GB, free: 68.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/2.965, allocations: 0.8029 MB / 1.843 GB, free: 67.69 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01215/2.977, allocations: 2.98 MB / 1.846 GB, free: 64.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007599/2.985, allocations: 8.396 MB / 1.854 GB, free: 56.01 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01331/2.998, allocations: 0.6982 MB / 1.855 GB, free: 55.31 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002785/3.001, allocations: 0.5975 MB / 1.856 GB, free: 54.71 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02439/3.026, allocations: 13.08 MB / 1.868 GB, free: 41.61 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01398/3.04, allocations: 10.81 MB / 1.879 GB, free: 29.04 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02576/3.065, allocations: 18.29 MB / 1.897 GB, free: 8.949 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001318/3.066, allocations: 36 kB / 1.897 GB, free: 8.914 MB / 1.279 GB Notification: Performance of matching and sorting (n=1659) (initialization_lambda0): time 0.04172/3.107, allocations: 19.93 MB / 1.916 GB, free: 4.879 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/3.107, allocations: 60 kB / 1.916 GB, free: 4.82 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001903/3.108, allocations: 124 kB / 1.916 GB, free: 4.699 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/3.109, allocations: 0.7839 MB / 1.917 GB, free: 3.906 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0141/3.124, allocations: 2.976 MB / 1.92 GB, free: 0.9258 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/3.135, allocations: 9.607 MB / 1.93 GB, free: 6.906 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01383/3.149, allocations: 0.6788 MB / 1.93 GB, free: 6.227 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003028/3.152, allocations: 0.5936 MB / 1.931 GB, free: 5.633 MB / 1.311 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.005164/3.157, allocations: 0.988 MB / 1.932 GB, free: 4.633 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005765/3.163, allocations: 1.436 MB / 1.933 GB, free: 3.188 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0366/3.199, allocations: 14.69 MB / 1.947 GB, free: 4.469 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02655/3.226, allocations: 12.22 MB / 1.959 GB, free: 8.141 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.083e-05/3.226, allocations: 4 kB / 1.959 GB, free: 8.137 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01014/3.236, allocations: 3.201 MB / 1.963 GB, free: 4.906 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005031/3.241, allocations: 188 kB / 1.963 GB, free: 4.723 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01084/3.252, allocations: 491.1 kB / 1.963 GB, free: 4.242 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002407/3.255, allocations: 0.5374 MB / 1.964 GB, free: 3.703 MB / 1.342 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03616/3.291, allocations: 14.27 MB / 1.978 GB, free: 5.398 MB / 1.358 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04306/3.334, allocations: 22.24 MB / 1.999 GB, free: 15.08 MB / 1.389 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01134/3.345, allocations: 6.33 MB / 2.006 GB, free: 8.742 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.02275/3.368, allocations: 10.2 MB / 2.015 GB, free: 14.59 MB / 1.404 GB Notification: Performance of Backend: time 1.243e-06/3.368, allocations: 0 / 2.015 GB, free: 14.59 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.05401/3.422, allocations: 21.35 MB / 2.036 GB, free: 9.23 MB / 1.42 GB Notification: Performance of SimCode: time 0.09151/3.514, allocations: 42.12 MB / 2.077 GB, free: 15.25 MB / 1.467 GB Notification: Performance of Templates: time 1.571/5.085, allocations: 370.9 MB / 2.44 GB, free: 241.6 MB / 1.498 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.sim & ./Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerLocation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerLocation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Validation_HeatExchangerLocation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches