Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001644/0.001644, allocations: 114.2 kB / 16.81 MB, free: 5.77 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.001696/0.001696, allocations: 196.7 kB / 17.77 MB, free: 5.109 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.472/1.472, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.673/2.673, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 68.83 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2976, allocations: 168.7 MB / 1.262 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerLocation): time 0.1164/0.414, allocations: 110.5 MB / 1.37 GB, free: 14.13 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.04453/0.4585, allocations: 31.61 MB / 1.401 GB, free: 14.43 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004592/0.4631, allocations: 151.1 kB / 1.401 GB, free: 14.29 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.005381/0.4685, allocations: 1.82 MB / 1.403 GB, free: 12.45 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.4812, allocations: 4.632 MB / 1.407 GB, free: 7.801 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.009743/0.491, allocations: 3.587 MB / 1.411 GB, free: 4.227 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.05985/0.5508, allocations: 56.56 MB / 1.466 GB, free: 11.52 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03599/0.5868, allocations: 23.32 MB / 1.489 GB, free: 4.035 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03785/0.6247, allocations: 19.25 MB / 1.508 GB, free: 0.8359 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03052/0.6552, allocations: 17.44 MB / 1.525 GB, free: 15.33 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.008804/0.664, allocations: 2.77 MB / 1.527 GB, free: 12.56 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01724/0.6812, allocations: 5.012 MB / 1.532 GB, free: 7.547 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.01244/0.6937, allocations: 6.663 MB / 1.539 GB, free: 0.8633 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.02735/0.721, allocations: 12.91 MB / 1.551 GB, free: 3.898 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 1.374/2.095, allocations: 39.58 MB / 1.59 GB, free: 70.96 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/2.095, allocations: 0 / 1.59 GB, free: 70.96 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.695e-06/2.095, allocations: 0.9375 kB / 1.59 GB, free: 70.96 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.001433/2.096, allocations: 0 / 1.59 GB, free: 70.96 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.08143/2.178, allocations: 23.42 MB / 1.613 GB, free: 63.13 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/2.178, allocations: 9.875 kB / 1.613 GB, free: 63.13 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02127/2.199, allocations: 2.401 MB / 1.615 GB, free: 61.97 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05988/2.259, allocations: 19.37 MB / 1.634 GB, free: 59.4 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001243/2.26, allocations: 1.181 MB / 1.635 GB, free: 59.37 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009374/2.27, allocations: 1.579 MB / 1.637 GB, free: 59.36 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07097/2.341, allocations: 24.16 MB / 1.66 GB, free: 52.39 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008141/2.341, allocations: 52.97 kB / 1.66 GB, free: 52.39 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007594/2.349, allocations: 0.653 MB / 1.661 GB, free: 52.39 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003748/2.349, allocations: 465.9 kB / 1.662 GB, free: 52.36 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05317/2.403, allocations: 21.26 MB / 1.682 GB, free: 43.39 MB / 1.264 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.1693/2.572, allocations: 99.6 MB / 1.78 GB, free: 4.57 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02834/2.6, allocations: 14.02 MB / 1.793 GB, free: 6.762 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01725/2.618, allocations: 8.705 MB / 1.802 GB, free: 14.05 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07086/2.688, allocations: 28.24 MB / 1.829 GB, free: 1.125 MB / 1.358 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/2.689, allocations: 150.6 kB / 1.829 GB, free: 0.9688 MB / 1.358 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009221/2.698, allocations: 0.9873 MB / 1.83 GB, free: 15.98 MB / 1.373 GB Notification: Performance of pre-optimization done (n=893): time 2.189e-05/2.698, allocations: 0 / 1.83 GB, free: 15.98 MB / 1.373 GB Notification: Performance of matching and sorting (n=893): time 0.04991/2.748, allocations: 19.57 MB / 1.85 GB, free: 12.37 MB / 1.389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/2.748, allocations: 142.4 kB / 1.85 GB, free: 12.22 MB / 1.389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03548/2.783, allocations: 14.68 MB / 1.864 GB, free: 13.59 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.00338/2.787, allocations: 217.7 kB / 1.864 GB, free: 13.37 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.01267/2.799, allocations: 8.432 MB / 1.872 GB, free: 4.945 MB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.006532/2.806, allocations: 3.264 MB / 1.876 GB, free: 1.727 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01126/2.817, allocations: 2.573 MB / 1.878 GB, free: 15.14 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 0.0001294/2.817, allocations: 301.1 kB / 1.878 GB, free: 14.84 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01475/2.832, allocations: 6.83 MB / 1.885 GB, free: 7.992 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02099/2.853, allocations: 10.81 MB / 1.896 GB, free: 11.48 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03609/2.889, allocations: 18.3 MB / 1.914 GB, free: 7.895 MB / 1.451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001302/2.889, allocations: 36 kB / 1.914 GB, free: 7.859 MB / 1.451 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.05311/2.942, allocations: 19.94 MB / 1.933 GB, free: 4.578 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/2.943, allocations: 56 kB / 1.933 GB, free: 4.523 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002567/2.943, allocations: 128.8 kB / 1.933 GB, free: 4.398 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00212/2.945, allocations: 0.8005 MB / 1.934 GB, free: 3.594 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0142/2.959, allocations: 2.982 MB / 1.937 GB, free: 0.8086 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/2.97, allocations: 8.394 MB / 1.945 GB, free: 8.219 MB / 1.483 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01515/2.985, allocations: 0.7012 MB / 1.946 GB, free: 7.52 MB / 1.483 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003191/2.988, allocations: 0.5975 MB / 1.946 GB, free: 6.922 MB / 1.483 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0281/3.016, allocations: 13.09 MB / 1.959 GB, free: 9.816 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02194/3.038, allocations: 10.81 MB / 1.97 GB, free: 13.31 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03171/3.07, allocations: 18.29 MB / 1.988 GB, free: 9.734 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.812e-05/3.07, allocations: 36 kB / 1.988 GB, free: 9.699 MB / 1.529 GB Notification: Performance of matching and sorting (n=1659) (initialization_lambda0): time 0.05094/3.121, allocations: 19.91 MB / 2.007 GB, free: 6.441 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/3.121, allocations: 56 kB / 2.007 GB, free: 6.387 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002374/3.121, allocations: 124 kB / 2.007 GB, free: 6.266 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/3.123, allocations: 0.7906 MB / 2.008 GB, free: 5.473 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01415/3.137, allocations: 2.978 MB / 2.011 GB, free: 2.691 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/3.149, allocations: 9.604 MB / 2.02 GB, free: 8.785 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0158/3.165, allocations: 0.6781 MB / 2.021 GB, free: 8.109 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003323/3.168, allocations: 0.5975 MB / 2.022 GB, free: 7.512 MB / 1.561 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.00448/3.173, allocations: 0.9898 MB / 2.022 GB, free: 6.711 MB / 1.561 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005428/3.178, allocations: 1.436 MB / 2.024 GB, free: 5.266 MB / 1.561 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03448/3.213, allocations: 14.65 MB / 2.038 GB, free: 6.621 MB / 1.576 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02444/3.237, allocations: 12.17 MB / 2.05 GB, free: 10.38 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/3.237, allocations: 9.188 kB / 2.05 GB, free: 10.37 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0106/3.248, allocations: 3.201 MB / 2.053 GB, free: 7.137 MB / 1.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005027/3.253, allocations: 188 kB / 2.053 GB, free: 6.953 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01156/3.264, allocations: 497.8 kB / 2.054 GB, free: 6.477 MB / 1.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002494/3.267, allocations: 0.5335 MB / 2.054 GB, free: 5.941 MB / 1.592 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03399/3.301, allocations: 14.27 MB / 2.068 GB, free: 7.789 MB / 1.608 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04347/3.344, allocations: 22.24 MB / 2.09 GB, free: 1.488 MB / 1.623 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01115/3.355, allocations: 5.943 MB / 2.096 GB, free: 11.54 MB / 1.639 GB Notification: Performance of sorting global known variables: time 0.02279/3.378, allocations: 10.2 MB / 2.106 GB, free: 1.383 MB / 1.639 GB Notification: Performance of Backend: time 5.41e-07/3.378, allocations: 1.094 kB / 2.106 GB, free: 1.383 MB / 1.639 GB Notification: Performance of simCode: created initialization part: time 0.05681/3.435, allocations: 20.16 MB / 2.125 GB, free: 14.11 MB / 1.67 GB Notification: Performance of SimCode: time 0.1094/3.544, allocations: 42.37 MB / 2.167 GB, free: 4 MB / 1.701 GB Notification: Performance of Templates: time 1.197/4.741, allocations: 378.3 MB / 2.536 GB, free: 267.4 MB / 1.717 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.sim & ./Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerLocation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerLocation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_HeatExchangerLocation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches