Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001252/0.001252, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001669/0.001669, allocations: 216 kB / 23.04 MB, free: 5.074 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.567/2.567, allocations: 476.7 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="cs",version="2.0",platforms={"static"}) [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.001889/0.001889, allocations: 63.12 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2702, allocations: 170 MB / 1.284 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002574/0.2728, allocations: 1.517 MB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.2742, allocations: 0.9403 MB / 1.287 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.843e-05/0.2743, allocations: 0 / 1.287 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.2745, allocations: 47.77 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.613e-05/0.2745, allocations: 19.84 kB / 1.287 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.2751, allocations: 196.9 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.2752, allocations: 51.67 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.2753, allocations: 4 kB / 1.287 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.812e-05/0.2754, allocations: 19.92 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.514e-05/0.2754, allocations: 15.92 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.2754, allocations: 4 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.2758, allocations: 179.7 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.2758, allocations: 7.938 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.2759, allocations: 15.88 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.2761, allocations: 131.1 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2761, allocations: 4 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2761, allocations: 0 / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2761, allocations: 0 / 1.287 GB, free: 8.543 MB / 0.9825 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.0004094/0.2765, allocations: 305.8 kB / 1.288 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.2766, allocations: 12.03 kB / 1.288 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.618e-05/0.2766, allocations: 75.47 kB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.891e-05/0.2767, allocations: 106 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.326e-05/0.2768, allocations: 84.17 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.277, allocations: 204.2 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-05/0.2771, allocations: 154.9 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-05/0.2772, allocations: 154.9 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.05e-05/0.2773, allocations: 112.9 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.636e-05/0.2773, allocations: 75.28 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.2774, allocations: 150.6 kB / 1.289 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.913e-05/0.2775, allocations: 150.6 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.802e-05/0.2776, allocations: 158.6 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.2779, allocations: 433 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.278, allocations: 173.1 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.2781, allocations: 84.14 kB / 1.29 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.314e-05/0.2781, allocations: 79.22 kB / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.316e-05/0.2782, allocations: 113.8 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 2.645e-06/0.2782, allocations: 3.984 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.78e-05/0.2783, allocations: 33.64 kB / 1.29 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.2783, allocations: 134.6 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.2785, allocations: 133.7 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2785, allocations: 25.7 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.2786, allocations: 92.14 kB / 1.29 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.2786, allocations: 0 / 1.29 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.2786, allocations: 21.7 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2788, allocations: 310.8 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.2788, allocations: 8 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.445e-05/0.2788, allocations: 4 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/0.2789, allocations: 20.84 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2789, allocations: 0 / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001355/0.279, allocations: 49.59 kB / 1.291 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.279, allocations: 12 kB / 1.291 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.279, allocations: 4 kB / 1.291 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2791, allocations: 3.938 kB / 1.291 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.2791, allocations: 0 / 1.291 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2791, allocations: 3.984 kB / 1.291 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.2791, allocations: 0 / 1.291 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.2791, allocations: 7.938 kB / 1.291 GB, free: 4.918 MB / 0.9825 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 0.0001395/0.2792, allocations: 181.1 kB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.05e-05/0.2793, allocations: 116.9 kB / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.6e-05/0.2794, allocations: 112.7 kB / 1.291 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-05/0.2795, allocations: 184.2 kB / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.263e-05/0.2796, allocations: 176.3 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-05/0.2796, allocations: 180.2 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.2799, allocations: 388.2 kB / 1.292 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.672e-05/0.2799, allocations: 108.9 kB / 1.292 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.28, allocations: 105 kB / 1.292 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.672e-05/0.2801, allocations: 180.3 kB / 1.292 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/0.2802, allocations: 180.2 kB / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-05/0.2802, allocations: 176.3 kB / 1.293 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.801e-05/0.2803, allocations: 184.2 kB / 1.293 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.2805, allocations: 319.7 kB / 1.293 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.2806, allocations: 108.9 kB / 1.293 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.309e-05/0.2806, allocations: 184.3 kB / 1.293 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.892e-05/0.2807, allocations: 104.9 kB / 1.293 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.2808, allocations: 184.2 kB / 1.294 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.2809, allocations: 101 kB / 1.294 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.433e-05/0.2809, allocations: 109.5 kB / 1.294 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2809, allocations: 0 / 1.294 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002658/0.2812, allocations: 31.88 kB / 1.294 GB, free: 1.379 MB / 0.9825 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.0006118/0.2818, allocations: 0.8601 MB / 1.295 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.451e-05/0.2819, allocations: 29.7 kB / 1.295 GB, free: 468 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2819, allocations: 0 / 1.295 GB, free: 468 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.557e-06/0.2819, allocations: 3.938 kB / 1.295 GB, free: 464 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.2824, allocations: 483.7 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.2836, allocations: 1.464 MB / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.2839, allocations: 0.6884 MB / 1.297 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.039e-05/0.284, allocations: 4 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.284, allocations: 11.44 kB / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/0.284, allocations: 4.031 kB / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.3061, allocations: 2.859 MB / 1.3 GB, free: 11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.82, allocations: 3.984 kB / 1.3 GB, free: 11 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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: 16.91504445701139]