Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 104 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.433/2.433, allocations: 437.1 MB / 0.7171 GB, free: 4.043 MB / 0.5762 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 67.89 kB / 1.027 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7718/0.7737, allocations: 151.6 MB / 1.175 GB, free: 17.47 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004296/0.778, allocations: 4.167 MB / 1.179 GB, free: 14.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002775/0.7808, allocations: 2.403 MB / 1.181 GB, free: 12.76 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.7811, allocations: 14.78 kB / 1.181 GB, free: 12.76 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.7826, allocations: 0.5349 MB / 1.182 GB, free: 12.51 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004442/0.783, allocations: 254.2 kB / 1.182 GB, free: 12.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.7833, allocations: 142.4 kB / 1.182 GB, free: 12.24 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007222/0.784, allocations: 0.8067 MB / 1.183 GB, free: 11.82 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004007/0.7844, allocations: 331.6 kB / 1.183 GB, free: 11.65 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.7847, allocations: 295.2 kB / 1.183 GB, free: 11.5 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.7851, allocations: 333.5 kB / 1.184 GB, free: 11.33 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.903e-05/0.7852, allocations: 73.03 kB / 1.184 GB, free: 11.33 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.7853, allocations: 74.88 kB / 1.184 GB, free: 11.33 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.7855, allocations: 164.7 kB / 1.184 GB, free: 11.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.7858, allocations: 388.3 kB / 1.184 GB, free: 10.99 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.7868, allocations: 0.9919 MB / 1.185 GB, free: 10.64 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7868, allocations: 4 kB / 1.185 GB, free: 10.63 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7868, allocations: 1.156 kB / 1.185 GB, free: 10.63 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.969e-05/0.7868, allocations: 0 / 1.185 GB, free: 10.63 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001318/0.7881, allocations: 0.9669 MB / 1.186 GB, free: 9.918 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.7882, allocations: 9.781 kB / 1.186 GB, free: 9.918 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.02e-05/0.7883, allocations: 90.95 kB / 1.186 GB, free: 9.848 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.986e-05/0.7884, allocations: 76.56 kB / 1.187 GB, free: 9.809 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005549/0.7889, allocations: 464.4 kB / 1.187 GB, free: 9.438 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.789, allocations: 36.28 kB / 1.187 GB, free: 9.422 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.789, allocations: 49.34 kB / 1.187 GB, free: 9.406 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00069/0.7897, allocations: 428.4 kB / 1.187 GB, free: 9.219 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.7898, allocations: 5.672 kB / 1.187 GB, free: 9.215 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.7898, allocations: 19.75 kB / 1.187 GB, free: 9.199 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.7898, allocations: 15.94 kB / 1.187 GB, free: 9.195 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.7905, allocations: 368.8 kB / 1.188 GB, free: 9.066 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.7924, allocations: 1.52 MB / 1.189 GB, free: 8.164 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.7929, allocations: 340.2 kB / 1.19 GB, free: 8.008 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004257/0.7933, allocations: 325.2 kB / 1.19 GB, free: 7.883 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.7933, allocations: 9.391 kB / 1.19 GB, free: 7.879 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.7934, allocations: 36.91 kB / 1.19 GB, free: 7.836 MB / 0.92 GB Notification: Performance of pre-optimization done (n=42): time 1.904e-06/0.7934, allocations: 3.938 kB / 1.19 GB, free: 7.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=42): time 0.000898/0.7943, allocations: 0.4904 MB / 1.19 GB, free: 7.613 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.7943, allocations: 60.23 kB / 1.191 GB, free: 7.547 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.7948, allocations: 486.7 kB / 1.191 GB, free: 7.324 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.7949, allocations: 31.61 kB / 1.191 GB, free: 7.289 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.795, allocations: 279.7 kB / 1.191 GB, free: 7.066 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.499e-05/0.7951, allocations: 156.2 kB / 1.191 GB, free: 6.941 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.7952, allocations: 65.3 kB / 1.192 GB, free: 6.895 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.227e-05/0.7953, allocations: 359.5 kB / 1.192 GB, free: 6.562 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.7955, allocations: 128 kB / 1.192 GB, free: 6.512 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.7958, allocations: 127.2 kB / 1.192 GB, free: 6.465 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.7962, allocations: 297.5 kB / 1.192 GB, free: 6.324 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7962, allocations: 0 / 1.192 GB, free: 6.324 MB / 0.92 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006275/0.7969, allocations: 396.8 kB / 1.193 GB, free: 6.141 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.7969, allocations: 5.719 kB / 1.193 GB, free: 6.141 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7969, allocations: 4 kB / 1.193 GB, free: 6.137 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.7969, allocations: 6.219 kB / 1.193 GB, free: 6.133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.7974, allocations: 124.9 kB / 1.193 GB, free: 6.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.7975, allocations: 2.531 kB / 1.193 GB, free: 6.125 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.7977, allocations: 33.97 kB / 1.193 GB, free: 6.102 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.7978, allocations: 15.58 kB / 1.193 GB, free: 6.094 MB / 0.92 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 (46): * Single equations (assignments): 46 * 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.0001948/0.798, allocations: 200.3 kB / 1.193 GB, free: 5.926 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.798, allocations: 56.14 kB / 1.193 GB, free: 5.895 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.7982, allocations: 62 kB / 1.193 GB, free: 5.852 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.7982, allocations: 8.281 kB / 1.193 GB, free: 5.848 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.7982, allocations: 0 / 1.193 GB, free: 5.848 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.7982, allocations: 3.5 kB / 1.193 GB, free: 5.848 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006681/0.7989, allocations: 0.5807 MB / 1.194 GB, free: 5.477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.7989, allocations: 4.969 kB / 1.194 GB, free: 5.473 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.7994, allocations: 124.2 kB / 1.194 GB, free: 5.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7994, allocations: 6.469 kB / 1.194 GB, free: 5.461 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.7994, allocations: 6.531 kB / 1.194 GB, free: 5.457 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.7994, allocations: 1.406 kB / 1.194 GB, free: 5.457 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7995, allocations: 0.875 kB / 1.194 GB, free: 5.457 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009217/0.8004, allocations: 0.6445 MB / 1.195 GB, free: 5.098 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.8005, allocations: 143.3 kB / 1.195 GB, free: 4.953 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-05/0.8006, allocations: 14.44 kB / 1.195 GB, free: 4.941 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.8008, allocations: 9.156 kB / 1.195 GB, free: 4.938 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.8008, allocations: 27.86 kB / 1.195 GB, free: 4.922 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.8009, allocations: 7.125 kB / 1.195 GB, free: 4.922 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003359/0.8012, allocations: 355.5 kB / 1.195 GB, free: 4.715 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8012, allocations: 0 / 1.195 GB, free: 4.715 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004217/0.8016, allocations: 148.6 kB / 1.195 GB, free: 4.68 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.001038/0.8027, allocations: 1.214 MB / 1.196 GB, free: 3.734 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005571/0.8033, allocations: 320 kB / 1.197 GB, free: 3.598 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8033, allocations: 7.938 kB / 1.197 GB, free: 3.59 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.8035, allocations: 180.3 kB / 1.197 GB, free: 3.512 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006389/0.8042, allocations: 126.3 kB / 1.197 GB, free: 3.445 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005463/0.8097, allocations: 4.866 MB / 1.202 GB, free: 364 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.8101, allocations: 0.8742 MB / 1.203 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002326/0.8103, allocations: 56.97 kB / 1.203 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.8106, allocations: 192.5 kB / 1.203 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of SimCode: time 6.41e-07/0.8106, allocations: 0 / 1.203 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03768/0.8483, allocations: 11.46 MB / 1.214 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.773/9.622, allocations: 11.92 kB / 1.214 GB, free: 9.898 MB / 0.9356 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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: 15.08943434804678]