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.001672/0.001672, allocations: 108.5 kB / 16.41 MB, free: 6.473 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.001967/0.001967, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.09 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.541/2.541, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6976/0.6989, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerLocation): time 0.09863/0.7976, allocations: 109.6 MB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03939/0.837, allocations: 31.51 MB / 1.305 GB, free: 6.199 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006515/0.8436, allocations: 151.1 kB / 1.305 GB, free: 6.051 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005572/0.8492, allocations: 1.805 MB / 1.307 GB, free: 4.234 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.8615, allocations: 4.62 MB / 1.312 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008731/0.8702, allocations: 3.554 MB / 1.315 GB, free: 12.05 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.05196/0.9222, allocations: 56.45 MB / 1.37 GB, free: 3.461 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03522/0.9575, allocations: 28.03 MB / 1.398 GB, free: 7.277 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0318/0.9893, allocations: 19.19 MB / 1.416 GB, free: 4.141 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02606/1.015, allocations: 16.7 MB / 1.433 GB, free: 3.379 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.007859/1.023, allocations: 2.77 MB / 1.435 GB, free: 0.6094 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01629/1.04, allocations: 4.973 MB / 1.44 GB, free: 11.63 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.01046/1.05, allocations: 6.44 MB / 1.446 GB, free: 5.176 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.02423/1.074, allocations: 12.91 MB / 1.459 GB, free: 8.215 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.04787/1.122, allocations: 39.56 MB / 1.498 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/1.122, allocations: 4 kB / 1.498 GB, free: 0.5273 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.605e-06/1.122, allocations: 0 / 1.498 GB, free: 0.5273 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.001373/1.124, allocations: 4 kB / 1.498 GB, free: 0.5234 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.06463/1.188, allocations: 23.46 MB / 1.521 GB, free: 8.898 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/1.188, allocations: 12.62 kB / 1.521 GB, free: 8.887 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/1.201, allocations: 2.393 MB / 1.523 GB, free: 6.48 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04247/1.244, allocations: 19.36 MB / 1.542 GB, free: 3.012 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001225/1.245, allocations: 1.183 MB / 1.543 GB, free: 1.828 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006502/1.252, allocations: 1.582 MB / 1.545 GB, free: 252 kB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.243/2.495, allocations: 24.13 MB / 1.568 GB, free: 334.1 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005637/2.495, allocations: 56.91 kB / 1.568 GB, free: 334.1 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00418/2.499, allocations: 0.6577 MB / 1.569 GB, free: 333.6 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003519/2.5, allocations: 460.1 kB / 1.569 GB, free: 333.6 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04111/2.541, allocations: 21.22 MB / 1.59 GB, free: 324.5 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.1321/2.673, allocations: 99.6 MB / 1.687 GB, free: 230.1 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01935/2.692, allocations: 14.87 MB / 1.702 GB, free: 215.4 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0121/2.705, allocations: 9.422 MB / 1.711 GB, free: 205.9 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05366/2.758, allocations: 28.21 MB / 1.738 GB, free: 177.1 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/2.758, allocations: 154.5 kB / 1.739 GB, free: 176.9 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00695/2.765, allocations: 0.9568 MB / 1.74 GB, free: 176.2 MB / 1.279 GB Notification: Performance of pre-optimization done (n=893): time 2.439e-05/2.765, allocations: 0 / 1.74 GB, free: 176.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=893): time 0.04253/2.808, allocations: 19.59 MB / 1.759 GB, free: 156.6 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/2.808, allocations: 142.4 kB / 1.759 GB, free: 156.4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02806/2.836, allocations: 14.67 MB / 1.773 GB, free: 141.9 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.002357/2.839, allocations: 221.7 kB / 1.773 GB, free: 141.6 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.007873/2.846, allocations: 8.436 MB / 1.782 GB, free: 134 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.004243/2.851, allocations: 3.266 MB / 1.785 GB, free: 131 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007843/2.859, allocations: 2.565 MB / 1.787 GB, free: 128.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.849e-05/2.859, allocations: 301.1 kB / 1.788 GB, free: 128.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01038/2.869, allocations: 6.83 MB / 1.794 GB, free: 121.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01254/2.882, allocations: 10.82 MB / 1.805 GB, free: 108.7 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02393/2.905, allocations: 18.29 MB / 1.823 GB, free: 88.62 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/2.906, allocations: 36 kB / 1.823 GB, free: 88.58 MB / 1.279 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.03578/2.941, allocations: 19.98 MB / 1.842 GB, free: 68.51 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/2.942, allocations: 59.94 kB / 1.842 GB, free: 68.45 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001605/2.942, allocations: 124 kB / 1.842 GB, free: 68.33 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/2.943, allocations: 0.7979 MB / 1.843 GB, free: 67.52 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01123/2.955, allocations: 2.98 MB / 1.846 GB, free: 64.54 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007059/2.962, allocations: 8.394 MB / 1.854 GB, free: 55.85 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01306/2.975, allocations: 0.6982 MB / 1.855 GB, free: 55.15 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002616/2.977, allocations: 0.5936 MB / 1.856 GB, free: 54.55 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02102/2.998, allocations: 13.09 MB / 1.868 GB, free: 41.45 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0121/3.011, allocations: 10.81 MB / 1.879 GB, free: 28.88 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02295/3.034, allocations: 18.29 MB / 1.897 GB, free: 8.785 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001033/3.034, allocations: 36 kB / 1.897 GB, free: 8.75 MB / 1.279 GB Notification: Performance of matching and sorting (n=1659) (initialization_lambda0): time 0.03847/3.072, allocations: 19.94 MB / 1.916 GB, free: 4.711 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/3.072, allocations: 62.34 kB / 1.916 GB, free: 4.652 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001985/3.073, allocations: 120 kB / 1.916 GB, free: 4.535 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00167/3.074, allocations: 0.7837 MB / 1.917 GB, free: 3.742 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01252/3.087, allocations: 2.976 MB / 1.92 GB, free: 0.7617 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/3.097, allocations: 9.6 MB / 1.93 GB, free: 6.746 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01282/3.11, allocations: 0.6866 MB / 1.93 GB, free: 6.059 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002513/3.112, allocations: 0.5897 MB / 1.931 GB, free: 5.469 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.004436/3.117, allocations: 0.9886 MB / 1.932 GB, free: 4.469 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005369/3.122, allocations: 1.44 MB / 1.933 GB, free: 3.02 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02972/3.152, allocations: 14.69 MB / 1.947 GB, free: 4.309 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02068/3.173, allocations: 12.22 MB / 1.959 GB, free: 7.977 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/3.173, allocations: 0 / 1.959 GB, free: 7.977 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008866/3.182, allocations: 3.201 MB / 1.963 GB, free: 4.746 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004548/3.186, allocations: 195.9 kB / 1.963 GB, free: 4.555 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009477/3.196, allocations: 491.1 kB / 1.963 GB, free: 4.074 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001719/3.197, allocations: 0.5374 MB / 1.964 GB, free: 3.535 MB / 1.342 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02884/3.226, allocations: 14.27 MB / 1.978 GB, free: 5.227 MB / 1.358 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0355/3.262, allocations: 22.24 MB / 1.999 GB, free: 14.91 MB / 1.389 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00924/3.271, allocations: 6.326 MB / 2.006 GB, free: 8.578 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.02013/3.291, allocations: 10.2 MB / 2.015 GB, free: 14.43 MB / 1.404 GB Notification: Performance of Backend: time 1.222e-06/3.291, allocations: 0 / 2.015 GB, free: 14.43 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.05541/3.347, allocations: 21.34 MB / 2.036 GB, free: 9.066 MB / 1.42 GB Notification: Performance of SimCode: time 0.09225/3.439, allocations: 42.12 MB / 2.077 GB, free: 15.09 MB / 1.467 GB Notification: Performance of Templates: time 1.933/5.372, allocations: 370.9 MB / 2.44 GB, free: 241.3 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