Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001291/0.001296, allocations: 110.6 kB / 16.42 MB, free: 6.492 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.001304/0.001304, allocations: 185.7 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.338/1.338, 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 9.1.3-maint.9.1.x/package.mo): time 2.155/2.155, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8836/0.8849, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerLocation): time 0.1211/1.006, allocations: 109.6 MB / 1.196 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.05096/1.057, allocations: 31.51 MB / 1.226 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007909/1.065, allocations: 150.7 kB / 1.227 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006623/1.072, allocations: 1.799 MB / 1.228 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01622/1.088, allocations: 4.619 MB / 1.233 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01112/1.099, allocations: 3.559 MB / 1.236 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.05535/1.155, allocations: 56.51 MB / 1.292 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03728/1.192, allocations: 28.07 MB / 1.319 GB, free: 1.77 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03779/1.23, allocations: 19.21 MB / 1.338 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03166/1.261, allocations: 16.69 MB / 1.354 GB, free: 13.86 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.009535/1.271, allocations: 2.77 MB / 1.357 GB, free: 11.09 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01972/1.291, allocations: 4.984 MB / 1.362 GB, free: 6.098 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.01289/1.304, allocations: 6.44 MB / 1.368 GB, free: 15.64 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0313/1.335, allocations: 12.91 MB / 1.38 GB, free: 2.684 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.05696/1.392, allocations: 39.46 MB / 1.419 GB, free: 11.11 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/1.392, allocations: 4 kB / 1.419 GB, free: 11.11 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.357e-06/1.392, allocations: 0 / 1.419 GB, free: 11.11 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.001355/1.393, allocations: 0 / 1.419 GB, free: 11.11 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: 4015 * Number of variables: 4015 Notification: Performance of Generate backend data structure: time 0.0739/1.467, allocations: 22.9 MB / 1.441 GB, free: 4.07 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/1.467, allocations: 8.031 kB / 1.441 GB, free: 4.062 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/1.483, allocations: 2.304 MB / 1.444 GB, free: 1.734 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04766/1.53, allocations: 19.25 MB / 1.462 GB, free: 14.36 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001287/1.532, allocations: 1.187 MB / 1.464 GB, free: 13.18 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006291/1.538, allocations: 1.589 MB / 1.465 GB, free: 11.59 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05477/1.593, allocations: 24.13 MB / 1.489 GB, free: 2.797 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004752/1.593, allocations: 55.48 kB / 1.489 GB, free: 2.742 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003502/1.597, allocations: 0.6562 MB / 1.489 GB, free: 2.082 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003974/1.597, allocations: 463.8 kB / 1.49 GB, free: 1.629 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04199/1.639, allocations: 21.22 MB / 1.511 GB, free: 12.38 MB / 1.248 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.6846/2.324, allocations: 99.4 MB / 1.608 GB, free: 372.7 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02417/2.348, allocations: 14.85 MB / 1.622 GB, free: 370.3 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0151/2.363, allocations: 9.424 MB / 1.631 GB, free: 367 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05541/2.419, allocations: 28.19 MB / 1.659 GB, free: 353.4 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.332e-05/2.419, allocations: 153.5 kB / 1.659 GB, free: 353.2 MB / 1.311 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005155/2.424, allocations: 0.9244 MB / 1.66 GB, free: 353 MB / 1.311 GB Notification: Performance of pre-optimization done (n=893): time 2.035e-05/2.424, allocations: 4.938 kB / 1.66 GB, free: 353 MB / 1.311 GB Notification: Performance of matching and sorting (n=893): time 0.03363/2.458, allocations: 19.52 MB / 1.679 GB, free: 346.6 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/2.458, allocations: 144.9 kB / 1.679 GB, free: 346.6 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01837/2.476, allocations: 14.67 MB / 1.693 GB, free: 339.7 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.002221/2.478, allocations: 212.7 kB / 1.694 GB, free: 339.5 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.005351/2.484, allocations: 8.233 MB / 1.702 GB, free: 332.4 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.003551/2.487, allocations: 3.114 MB / 1.705 GB, free: 329.7 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003293/2.491, allocations: 2.559 MB / 1.707 GB, free: 328.3 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 4.443e-05/2.491, allocations: 309 kB / 1.708 GB, free: 328 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008113/2.499, allocations: 6.826 MB / 1.714 GB, free: 324.4 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/2.509, allocations: 10.81 MB / 1.725 GB, free: 315.6 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02214/2.532, allocations: 18.3 MB / 1.743 GB, free: 297.2 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001965/2.532, allocations: 35.94 kB / 1.743 GB, free: 297.1 MB / 1.311 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.03907/2.571, allocations: 19.91 MB / 1.762 GB, free: 277.1 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/2.571, allocations: 60 kB / 1.762 GB, free: 277 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/2.571, allocations: 120 kB / 1.762 GB, free: 276.9 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001655/2.573, allocations: 0.7993 MB / 1.763 GB, free: 276.1 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01179/2.585, allocations: 2.98 MB / 1.766 GB, free: 273.1 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007558/2.592, allocations: 8.381 MB / 1.774 GB, free: 264.5 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01479/2.607, allocations: 0.7102 MB / 1.775 GB, free: 263.8 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003041/2.61, allocations: 0.5936 MB / 1.775 GB, free: 263.2 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02238/2.633, allocations: 13.08 MB / 1.788 GB, free: 250.1 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01276/2.645, allocations: 10.81 MB / 1.799 GB, free: 237.5 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02327/2.669, allocations: 18.29 MB / 1.817 GB, free: 217.4 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001213/2.669, allocations: 39.94 kB / 1.817 GB, free: 217.4 MB / 1.311 GB Notification: Performance of matching and sorting (n=1659) (initialization_lambda0): time 0.03882/2.708, allocations: 19.88 MB / 1.836 GB, free: 197.4 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/2.708, allocations: 56 kB / 1.836 GB, free: 197.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001754/2.708, allocations: 124 kB / 1.836 GB, free: 197.2 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/2.709, allocations: 0.7765 MB / 1.837 GB, free: 196.4 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01177/2.721, allocations: 2.987 MB / 1.84 GB, free: 193.4 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007896/2.729, allocations: 9.577 MB / 1.849 GB, free: 183.5 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0142/2.743, allocations: 0.6862 MB / 1.85 GB, free: 182.8 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002937/2.746, allocations: 0.5975 MB / 1.851 GB, free: 182.2 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.004961/2.751, allocations: 0.9841 MB / 1.851 GB, free: 181.2 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005605/2.757, allocations: 1.37 MB / 1.853 GB, free: 179.8 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02635/2.783, allocations: 14.68 MB / 1.867 GB, free: 165.1 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0151/2.798, allocations: 12.2 MB / 1.879 GB, free: 152.8 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/2.798, allocations: 0 / 1.879 GB, free: 152.8 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008753/2.807, allocations: 3.132 MB / 1.882 GB, free: 149.6 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004226/2.812, allocations: 191.9 kB / 1.882 GB, free: 149.4 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01029/2.822, allocations: 0.4912 MB / 1.883 GB, free: 148.9 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001546/2.823, allocations: 0.5335 MB / 1.883 GB, free: 148.4 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.023/2.846, allocations: 14.27 MB / 1.897 GB, free: 134.2 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02599/2.872, allocations: 22.15 MB / 1.919 GB, free: 112 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006659/2.879, allocations: 6.334 MB / 1.925 GB, free: 105.7 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.01702/2.896, allocations: 10.2 MB / 1.935 GB, free: 95.51 MB / 1.311 GB Notification: Performance of Backend: time 1.002e-06/2.896, allocations: 0 / 1.935 GB, free: 95.51 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.04382/2.94, allocations: 21.33 MB / 1.956 GB, free: 74.25 MB / 1.311 GB Notification: Performance of SimCode: time 0.07964/3.02, allocations: 41.57 MB / 1.996 GB, free: 32.93 MB / 1.311 GB Notification: Performance of Templates: time 1.508/4.528, allocations: 370.9 MB / 2.359 GB, free: 281.6 MB / 1.389 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.sim & ./Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerLocation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerLocation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_HeatExchangerLocation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches