Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 209.9 kB / 23 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.412/3.412, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|indTanHex.vol.1..T|indTanHex.vol.2..T|indTanHex.vol.3..T",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|indTanHex.vol.1..T|indTanHex.vol.2..T|indTanHex.vol.3..T",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 63.25 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.363, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03319/0.3962, allocations: 26.58 MB / 1.353 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0125/0.4087, allocations: 7.326 MB / 1.36 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.4102, allocations: 51.56 kB / 1.36 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.4115, allocations: 413.2 kB / 1.361 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.4148, allocations: 1.07 MB / 1.362 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.418, allocations: 1.101 MB / 1.363 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006429/0.4244, allocations: 5.037 MB / 1.368 GB, free: 7.305 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.427, allocations: 1.618 MB / 1.369 GB, free: 5.645 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004661/0.4317, allocations: 1.985 MB / 1.371 GB, free: 3.664 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.4345, allocations: 1.502 MB / 1.373 GB, free: 2.156 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005344/0.4351, allocations: 232 kB / 1.373 GB, free: 1.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003137/0.4382, allocations: 1.186 MB / 1.374 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007239/0.4389, allocations: 0.5645 MB / 1.375 GB, free: 180 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.4407, allocations: 0.957 MB / 1.376 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005622/0.4463, allocations: 3.718 MB / 1.379 GB, free: 11.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4463, allocations: 0 / 1.379 GB, free: 11.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4463, allocations: 0 / 1.379 GB, free: 11.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.027e-05/0.4464, allocations: 3.938 kB / 1.379 GB, free: 11.48 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.005584/0.452, allocations: 2.546 MB / 1.382 GB, free: 8.895 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.452, allocations: 8.031 kB / 1.382 GB, free: 8.887 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009393/0.453, allocations: 243.6 kB / 1.382 GB, free: 8.648 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/0.457, allocations: 1.78 MB / 1.384 GB, free: 6.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.4571, allocations: 114.7 kB / 1.384 GB, free: 6.707 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.4574, allocations: 155.9 kB / 1.384 GB, free: 6.555 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003775/0.4612, allocations: 2.228 MB / 1.386 GB, free: 4.207 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/0.4612, allocations: 8 kB / 1.386 GB, free: 4.199 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.4614, allocations: 52 kB / 1.386 GB, free: 4.148 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.715e-05/0.4614, allocations: 40 kB / 1.386 GB, free: 4.109 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/0.4643, allocations: 1.798 MB / 1.388 GB, free: 2.305 MB / 1.076 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.01327/0.4776, allocations: 6.158 MB / 1.394 GB, free: 12.02 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.4799, allocations: 1.309 MB / 1.395 GB, free: 10.7 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.4809, allocations: 0.6287 MB / 1.396 GB, free: 10.07 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006514/0.4874, allocations: 2.401 MB / 1.398 GB, free: 7.648 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/0.4875, allocations: 47.56 kB / 1.398 GB, free: 7.594 MB / 1.092 GB Notification: Performance of pre-optimization done (n=88): time 3.918e-06/0.4875, allocations: 0 / 1.398 GB, free: 7.594 MB / 1.092 GB Notification: Performance of matching and sorting (n=88): time 0.0028/0.4903, allocations: 1.503 MB / 1.4 GB, free: 6.082 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.4903, allocations: 60.41 kB / 1.4 GB, free: 6.012 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.4924, allocations: 1.433 MB / 1.401 GB, free: 4.57 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.4925, allocations: 49.7 kB / 1.401 GB, free: 4.516 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007078/0.4932, allocations: 0.7894 MB / 1.402 GB, free: 3.715 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/0.4936, allocations: 325.2 kB / 1.402 GB, free: 3.395 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004374/0.494, allocations: 295.5 kB / 1.403 GB, free: 3.098 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.4942, allocations: 365.9 kB / 1.403 GB, free: 2.734 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.4953, allocations: 0.6878 MB / 1.404 GB, free: 2.043 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.4967, allocations: 1.15 MB / 1.405 GB, free: 0.7344 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/0.499, allocations: 1.628 MB / 1.406 GB, free: 14.98 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.499, allocations: 4 kB / 1.406 GB, free: 14.98 MB / 1.107 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003411/0.5024, allocations: 1.941 MB / 1.408 GB, free: 13.03 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.5024, allocations: 12 kB / 1.408 GB, free: 13.02 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.5024, allocations: 8 kB / 1.408 GB, free: 13.01 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.422e-05/0.5025, allocations: 16 kB / 1.408 GB, free: 12.99 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.5038, allocations: 339.5 kB / 1.409 GB, free: 12.66 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.468e-05/0.5038, allocations: 19.92 kB / 1.409 GB, free: 12.64 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.5051, allocations: 186.8 kB / 1.409 GB, free: 12.46 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.5052, allocations: 63.98 kB / 1.409 GB, free: 12.39 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002007/0.5072, allocations: 1.288 MB / 1.41 GB, free: 11.1 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001446/0.5087, allocations: 1.153 MB / 1.411 GB, free: 9.793 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002299/0.511, allocations: 1.608 MB / 1.413 GB, free: 8.059 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.147e-06/0.511, allocations: 4 kB / 1.413 GB, free: 8.055 MB / 1.107 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003395/0.5144, allocations: 1.941 MB / 1.415 GB, free: 6.105 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.5144, allocations: 15.97 kB / 1.415 GB, free: 6.09 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.5144, allocations: 8 kB / 1.415 GB, free: 6.082 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.5144, allocations: 16 kB / 1.415 GB, free: 6.066 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.5158, allocations: 339.5 kB / 1.415 GB, free: 5.734 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.513e-05/0.5158, allocations: 23.92 kB / 1.415 GB, free: 5.711 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.5171, allocations: 143.2 kB / 1.415 GB, free: 5.57 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.5173, allocations: 63.98 kB / 1.415 GB, free: 5.508 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004304/0.5177, allocations: 262.7 kB / 1.415 GB, free: 5.246 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000352/0.5181, allocations: 147 kB / 1.416 GB, free: 5.102 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.5203, allocations: 1.26 MB / 1.417 GB, free: 3.836 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001652/0.5219, allocations: 1.292 MB / 1.418 GB, free: 2.457 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.5219, allocations: 0 / 1.418 GB, free: 2.457 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009835/0.5229, allocations: 306.8 kB / 1.418 GB, free: 2.156 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.5231, allocations: 24.06 kB / 1.418 GB, free: 2.133 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000706/0.5238, allocations: 51.92 kB / 1.418 GB, free: 2.082 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.5239, allocations: 52.91 kB / 1.419 GB, free: 2.031 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002259/0.5262, allocations: 1.251 MB / 1.42 GB, free: 0.7734 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00292/0.5291, allocations: 2.014 MB / 1.422 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007129/0.5298, allocations: 0.4997 MB / 1.422 GB, free: 14.24 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001556/0.5314, allocations: 0.9927 MB / 1.423 GB, free: 13.25 MB / 1.123 GB Notification: Performance of Backend: time 2.3e-07/0.5314, allocations: 0 / 1.423 GB, free: 13.25 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004967/0.5364, allocations: 2.187 MB / 1.425 GB, free: 11.06 MB / 1.123 GB Notification: Performance of SimCode: time 0.007899/0.5443, allocations: 4.233 MB / 1.429 GB, free: 6.785 MB / 1.123 GB Notification: Performance of Templates: time 0.06791/0.6122, allocations: 43.22 MB / 1.472 GB, free: 12.11 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_12_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.311979634003364]