Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.0009595/0.0009595, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.0009302/0.0009302, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 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 0.8787/0.8787, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.702/1.702, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.596e-05, allocations: 6.25 kB / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001616/0.001632, allocations: 1.495 MB / 0.7887 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.004573, allocations: 2.823 MB / 0.7914 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.004615, allocations: 0 / 0.7914 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.004633, allocations: 5.156 kB / 0.7914 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.954e-05/0.004683, allocations: 19.84 kB / 0.7914 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.007304, allocations: 1.649 MB / 0.7931 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.142e-05/0.007375, allocations: 47.67 kB / 0.7931 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.929e-05/0.007404, allocations: 2.469 kB / 0.7931 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.398e-05/0.007438, allocations: 19.92 kB / 0.7931 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.882e-05/0.007457, allocations: 15.98 kB / 0.7931 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.007467, allocations: 0 / 0.7931 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.008902, allocations: 1.489 MB / 0.7946 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.008916, allocations: 9.734 kB / 0.7946 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.008937, allocations: 8 kB / 0.7946 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.009997, allocations: 1.282 MB / 0.7959 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.01, allocations: 0 / 0.7959 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.02e-07/0.01, allocations: 0.5312 kB / 0.7959 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.01, allocations: 0 / 0.7959 GB, free: 3.871 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003782/0.01038, allocations: 0.5614 MB / 0.7964 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.01041, allocations: 9.688 kB / 0.7964 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.01046, allocations: 128.1 kB / 0.7965 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.01056, allocations: 246 kB / 0.7968 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.01061, allocations: 242.8 kB / 0.797 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.01066, allocations: 238.8 kB / 0.7972 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.073e-05/0.01071, allocations: 146.1 kB / 0.7974 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.01074, allocations: 120.2 kB / 0.7975 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.01079, allocations: 250.5 kB / 0.7977 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.01083, allocations: 238.4 kB / 0.798 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.96e-05/0.01088, allocations: 242.1 kB / 0.7982 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.01108, allocations: 0.5875 MB / 0.7988 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.461e-05/0.01116, allocations: 269.4 kB / 0.799 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.01119, allocations: 126.9 kB / 0.7991 GB, free: 404 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.01121, allocations: 119.2 kB / 0.7993 GB, free: 284 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.01125, allocations: 156.6 kB / 0.7994 GB, free: 116 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.01125, allocations: 0 / 0.7994 GB, free: 116 kB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.988e-05/0.0113, allocations: 33.59 kB / 0.7994 GB, free: 76 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.01135, allocations: 178.5 kB / 0.7996 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.01159, allocations: 191.1 kB / 0.7998 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.0116, allocations: 25.7 kB / 0.7998 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.01164, allocations: 138.9 kB / 0.7999 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.01164, allocations: 0 / 0.7999 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.01167, allocations: 24.45 kB / 0.8 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.01177, allocations: 0.4923 MB / 0.8004 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.01178, allocations: 5.125 kB / 0.8005 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.01179, allocations: 4 kB / 0.8005 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.931e-05/0.01182, allocations: 19.62 kB / 0.8005 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01182, allocations: 1.094 kB / 0.8005 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.4e-05/0.01192, allocations: 53.64 kB / 0.8005 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.01193, allocations: 8 kB / 0.8005 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.01194, allocations: 5.188 kB / 0.8005 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.01195, allocations: 0 / 0.8005 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.01195, allocations: 3.938 kB / 0.8005 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.01196, allocations: 1.719 kB / 0.8005 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.201e-05/0.01197, allocations: 0 / 0.8005 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.01198, allocations: 4 kB / 0.8006 GB, free: 14.87 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.133e-05/0.01205, allocations: 275.8 kB / 0.8008 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.01209, allocations: 157.5 kB / 0.801 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.01213, allocations: 152.7 kB / 0.8011 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.763e-05/0.01217, allocations: 268.7 kB / 0.8014 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.251e-05/0.01223, allocations: 272 kB / 0.8016 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.918e-05/0.01227, allocations: 269.2 kB / 0.8019 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.01242, allocations: 0.5038 MB / 0.8024 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-05/0.01245, allocations: 148.9 kB / 0.8025 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.695e-05/0.01248, allocations: 149 kB / 0.8027 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.63e-05/0.01252, allocations: 268 kB / 0.8029 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.01257, allocations: 272.1 kB / 0.8032 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-05/0.01262, allocations: 268 kB / 0.8034 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.632e-05/0.01267, allocations: 268.1 kB / 0.8037 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.01277, allocations: 455.8 kB / 0.8041 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.01281, allocations: 156.8 kB / 0.8043 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-05/0.01287, allocations: 272 kB / 0.8045 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.006e-05/0.01292, allocations: 144.9 kB / 0.8047 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.01297, allocations: 272 kB / 0.8049 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.013, allocations: 152.8 kB / 0.8051 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.456e-05/0.01304, allocations: 145.3 kB / 0.8052 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01304, allocations: 0 / 0.8052 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004151/0.01346, allocations: 302.9 kB / 0.8055 GB, free: 9.602 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0007122/0.01417, allocations: 0.6199 MB / 0.8061 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 7.83e-05/0.01425, allocations: 53.38 kB / 0.8062 GB, free: 8.91 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01425, allocations: 0 / 0.8062 GB, free: 8.91 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.01425, allocations: 4 kB / 0.8062 GB, free: 8.906 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.01454, allocations: 0.7139 MB / 0.8069 GB, free: 8.188 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.0149, allocations: 285.1 kB / 0.8071 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.721e-05/0.01493, allocations: 55.42 kB / 0.8072 GB, free: 7.805 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.247e-06/0.01494, allocations: 4 kB / 0.8072 GB, free: 7.801 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.084e-05/0.01495, allocations: 16.44 kB / 0.8072 GB, free: 7.785 MB / 0.7605 GB Notification: Performance of SimCode: time 5.31e-07/0.01495, allocations: 3.938 kB / 0.8072 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of Templates: time 0.006486/0.02144, allocations: 5.971 MB / 0.813 GB, free: 1.867 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.799065954051912]