Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008144/0.0008144, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008424/0.0008424, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 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.8626/0.8626, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.691/1.691, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.981 GB, free: 2.48 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.277e-05, allocations: 4.953 kB / 0.981 GB, free: 2.477 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00185/0.001873, allocations: 1.462 MB / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00316/0.005033, allocations: 2.668 MB / 0.9851 GB, free: 14.32 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.005062, allocations: 0 / 0.9851 GB, free: 14.32 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.005079, allocations: 3.938 kB / 0.9851 GB, free: 14.32 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.005128, allocations: 19.84 kB / 0.9851 GB, free: 14.3 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.007305, allocations: 1.654 MB / 0.9867 GB, free: 12.66 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.00737, allocations: 39.67 kB / 0.9868 GB, free: 12.62 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.007404, allocations: 8 kB / 0.9868 GB, free: 12.62 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.831e-05/0.007442, allocations: 23.91 kB / 0.9868 GB, free: 12.59 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 1.969e-05/0.007462, allocations: 12 kB / 0.9868 GB, free: 12.58 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.007471, allocations: 0 / 0.9868 GB, free: 12.58 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.008815, allocations: 1.497 MB / 0.9883 GB, free: 11.08 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.008824, allocations: 0 / 0.9883 GB, free: 11.08 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.008844, allocations: 15.94 kB / 0.9883 GB, free: 11.07 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009838/0.009828, allocations: 1.277 MB / 0.9895 GB, free: 9.789 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00983, allocations: 0 / 0.9895 GB, free: 9.789 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.142e-06/0.009831, allocations: 0 / 0.9895 GB, free: 9.789 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.009835, allocations: 0 / 0.9895 GB, free: 9.789 MB / 0.948 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.0003794/0.01021, allocations: 478.6 kB / 0.99 GB, free: 9.293 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.01025, allocations: 11.98 kB / 0.99 GB, free: 9.281 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.01029, allocations: 106 kB / 0.9901 GB, free: 9.168 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.01033, allocations: 84.17 kB / 0.9902 GB, free: 9.086 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.835e-05/0.01042, allocations: 196.9 kB / 0.9904 GB, free: 8.867 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.01045, allocations: 150.9 kB / 0.9905 GB, free: 8.719 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.01049, allocations: 162.9 kB / 0.9907 GB, free: 8.559 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.898e-05/0.01055, allocations: 101.5 kB / 0.9908 GB, free: 8.453 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.01057, allocations: 75.47 kB / 0.9908 GB, free: 8.379 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.01061, allocations: 154.5 kB / 0.991 GB, free: 8.227 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.01064, allocations: 150.6 kB / 0.9911 GB, free: 8.078 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.027e-05/0.01068, allocations: 162.6 kB / 0.9913 GB, free: 7.918 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.01091, allocations: 433 kB / 0.9917 GB, free: 7.453 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.945e-05/0.01098, allocations: 173.1 kB / 0.9919 GB, free: 7.273 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.011, allocations: 80.14 kB / 0.9919 GB, free: 7.191 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.01102, allocations: 75.28 kB / 0.992 GB, free: 7.117 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.01106, allocations: 109.8 kB / 0.9921 GB, free: 7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.01106, allocations: 0 / 0.9921 GB, free: 7 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 6.571e-05/0.01113, allocations: 41.53 kB / 0.9921 GB, free: 6.953 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.01118, allocations: 130.6 kB / 0.9923 GB, free: 6.812 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.0113, allocations: 144.1 kB / 0.9924 GB, free: 6.664 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.01131, allocations: 29.7 kB / 0.9924 GB, free: 6.629 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.01135, allocations: 92.08 kB / 0.9925 GB, free: 6.535 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.01135, allocations: 0 / 0.9925 GB, free: 6.535 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.01138, allocations: 21.72 kB / 0.9925 GB, free: 6.508 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.01147, allocations: 314.8 kB / 0.9928 GB, free: 6.191 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.728e-05/0.01149, allocations: 8 kB / 0.9929 GB, free: 6.184 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.652e-05/0.01151, allocations: 4 kB / 0.9929 GB, free: 6.18 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.01155, allocations: 16.86 kB / 0.9929 GB, free: 6.16 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01155, allocations: 0 / 0.9929 GB, free: 6.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001153/0.01166, allocations: 57.64 kB / 0.9929 GB, free: 6.098 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01168, allocations: 11.94 kB / 0.9929 GB, free: 6.086 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.0117, allocations: 4.062 kB / 0.9929 GB, free: 6.082 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.01171, allocations: 4 kB / 0.9929 GB, free: 6.078 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.01171, allocations: 0 / 0.9929 GB, free: 6.078 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.01172, allocations: 0 / 0.9929 GB, free: 6.078 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.327e-05/0.01173, allocations: 0 / 0.9929 GB, free: 6.078 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.01174, allocations: 0 / 0.9929 GB, free: 6.078 MB / 0.948 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.629e-05/0.01182, allocations: 185.1 kB / 0.9931 GB, free: 5.887 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.01186, allocations: 112.9 kB / 0.9932 GB, free: 5.77 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.01189, allocations: 116.7 kB / 0.9933 GB, free: 5.652 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-05/0.01194, allocations: 180.3 kB / 0.9935 GB, free: 5.469 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.127e-05/0.01199, allocations: 180.3 kB / 0.9937 GB, free: 5.285 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.845e-05/0.01204, allocations: 184.2 kB / 0.9939 GB, free: 5.098 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.01227, allocations: 384.3 kB / 0.9942 GB, free: 4.672 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/0.0123, allocations: 112.9 kB / 0.9943 GB, free: 4.555 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.01232, allocations: 101 kB / 0.9944 GB, free: 4.449 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-05/0.01236, allocations: 176.3 kB / 0.9946 GB, free: 4.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/0.01241, allocations: 192.1 kB / 0.9948 GB, free: 4.074 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.813e-05/0.01244, allocations: 180.3 kB / 0.995 GB, free: 3.891 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.822e-05/0.01248, allocations: 184.2 kB / 0.9951 GB, free: 3.703 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.736e-05/0.01257, allocations: 307.7 kB / 0.9954 GB, free: 3.379 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.0126, allocations: 112.9 kB / 0.9955 GB, free: 3.262 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.01265, allocations: 184.2 kB / 0.9957 GB, free: 3.074 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.86e-05/0.0127, allocations: 113.2 kB / 0.9958 GB, free: 2.957 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.01274, allocations: 180.3 kB / 0.996 GB, free: 2.773 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.01276, allocations: 105 kB / 0.9961 GB, free: 2.664 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.274e-05/0.0128, allocations: 101 kB / 0.9962 GB, free: 2.566 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.0128, allocations: 0 / 0.9962 GB, free: 2.566 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004284/0.01323, allocations: 302.9 kB / 0.9965 GB, free: 2.27 MB / 0.948 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.000854/0.01409, allocations: 1.224 MB / 0.9977 GB, free: 1.016 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.482e-05/0.01416, allocations: 41.69 kB / 0.9977 GB, free: 0.9688 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01416, allocations: 7.938 kB / 0.9977 GB, free: 0.9609 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.01416, allocations: 3.938 kB / 0.9977 GB, free: 0.957 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.01442, allocations: 468.3 kB / 0.9982 GB, free: 0.4961 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008842/0.01531, allocations: 1.597 MB / 0.9997 GB, free: 14.82 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.965e-05/0.01535, allocations: 71.59 kB / 0.9998 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.097e-05/0.01536, allocations: 0 / 0.9998 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.01538, allocations: 16.5 kB / 0.9998 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of SimCode: time 3.01e-07/0.01538, allocations: 0 / 0.9998 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.03449, allocations: 7.996 MB / 1.008 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/6.901, allocations: 10.3 kB / 1.008 GB, free: 6.938 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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: 10.805632260628045]