Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001242/0.001242, allocations: 110.5 kB / 16.46 MB, free: 6.453 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.001219/0.001219, allocations: 195.8 kB / 19.41 MB, free: 3.645 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.395/1.395, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.455/2.455, allocations: 443.5 MB / 0.7287 GB, free: 13.29 MB / 0.5919 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 1.056 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.81/0.8119, allocations: 160.7 MB / 1.213 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002707/0.8147, allocations: 1.49 MB / 1.214 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.816, allocations: 0.9138 MB / 1.215 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.8161, allocations: 6.125 kB / 1.215 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.8163, allocations: 34.08 kB / 1.215 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.17e-05/0.8163, allocations: 22.59 kB / 1.215 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.8168, allocations: 196.3 kB / 1.216 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.765e-05/0.8169, allocations: 50.98 kB / 1.216 GB, free: 1.785 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.817, allocations: 2.188 kB / 1.216 GB, free: 1.785 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.817, allocations: 18.2 kB / 1.216 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.127e-05/0.8171, allocations: 19.17 kB / 1.216 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.8171, allocations: 0.75 kB / 1.216 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000341/0.8174, allocations: 169.9 kB / 1.216 GB, free: 1.68 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.8174, allocations: 5.219 kB / 1.216 GB, free: 1.676 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.8175, allocations: 23.03 kB / 1.216 GB, free: 1.66 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.8177, allocations: 123.6 kB / 1.216 GB, free: 1.586 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.8177, allocations: 3.984 kB / 1.216 GB, free: 1.582 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8177, allocations: 0 / 1.216 GB, free: 1.582 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.8177, allocations: 1.281 kB / 1.216 GB, free: 1.582 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003904/0.8181, allocations: 370.1 kB / 1.216 GB, free: 1.191 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.8181, allocations: 14.72 kB / 1.216 GB, free: 1.188 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.773e-05/0.8182, allocations: 106 kB / 1.216 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.522e-05/0.8183, allocations: 90.58 kB / 1.216 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.8185, allocations: 259.9 kB / 1.217 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.8186, allocations: 151.8 kB / 1.217 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.8187, allocations: 152 kB / 1.217 GB, free: 416 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.601e-05/0.8187, allocations: 109 kB / 1.217 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.8188, allocations: 76.34 kB / 1.217 GB, free: 224 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-05/0.8188, allocations: 158.6 kB / 1.217 GB, free: 64 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.643e-05/0.8189, allocations: 150.6 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.884e-05/0.819, allocations: 151.8 kB / 1.218 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.8193, allocations: 461.6 kB / 1.218 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.286e-05/0.8194, allocations: 174.2 kB / 1.218 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.8194, allocations: 84.14 kB / 1.218 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.8195, allocations: 75.28 kB / 1.218 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.8195, allocations: 111 kB / 1.218 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.8195, allocations: 0 / 1.218 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.761e-05/0.8196, allocations: 37.05 kB / 1.219 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.8197, allocations: 134.7 kB / 1.219 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.8198, allocations: 129.9 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.8198, allocations: 30.86 kB / 1.219 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.8199, allocations: 98.61 kB / 1.219 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.8199, allocations: 0 / 1.219 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.8199, allocations: 18.33 kB / 1.219 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.82, allocations: 316 kB / 1.219 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.82, allocations: 3.125 kB / 1.219 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.376e-05/0.8201, allocations: 10.28 kB / 1.219 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.611e-05/0.8201, allocations: 13.88 kB / 1.219 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8201, allocations: 0 / 1.219 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001281/0.8202, allocations: 50.42 kB / 1.219 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.8203, allocations: 5 kB / 1.219 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.8203, allocations: 1.531 kB / 1.219 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.8203, allocations: 0.75 kB / 1.219 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.03e-06/0.8203, allocations: 7.922 kB / 1.219 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.8203, allocations: 0.75 kB / 1.219 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.8203, allocations: 8.766 kB / 1.219 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.8203, allocations: 1.719 kB / 1.219 GB, free: 13.97 MB / 0.9356 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.0001054/0.8204, allocations: 188.9 kB / 1.22 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.8205, allocations: 107.1 kB / 1.22 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.929e-05/0.8206, allocations: 107 kB / 1.22 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-05/0.8206, allocations: 185.3 kB / 1.22 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.041e-05/0.8207, allocations: 181.4 kB / 1.22 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.99e-05/0.8208, allocations: 193.3 kB / 1.22 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.8211, allocations: 412.5 kB / 1.221 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-05/0.8211, allocations: 108.9 kB / 1.221 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.8211, allocations: 106.4 kB / 1.221 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.876e-05/0.8212, allocations: 177.6 kB / 1.221 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.993e-05/0.8213, allocations: 193.4 kB / 1.221 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.868e-05/0.8214, allocations: 176.3 kB / 1.221 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.527e-05/0.8214, allocations: 181.7 kB / 1.222 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.8216, allocations: 308.7 kB / 1.222 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.93e-05/0.8217, allocations: 196.1 kB / 1.222 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.659e-05/0.8218, allocations: 177.5 kB / 1.222 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.8219, allocations: 109.9 kB / 1.222 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.8219, allocations: 177.4 kB / 1.222 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.822, allocations: 102 kB / 1.223 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.839e-05/0.8221, allocations: 103.4 kB / 1.223 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8221, allocations: 4 kB / 1.223 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002905/0.8223, allocations: 37.55 kB / 1.223 GB, free: 10.36 MB / 0.9356 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.0006031/0.8229, allocations: 0.8578 MB / 1.224 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.823, allocations: 35.36 kB / 1.224 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8231, allocations: 4.062 kB / 1.224 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.8231, allocations: 0.9375 kB / 1.224 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.8235, allocations: 469.1 kB / 1.224 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.8249, allocations: 1.476 MB / 1.225 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.8252, allocations: 0.689 MB / 1.226 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.118e-05/0.8252, allocations: 4.938 kB / 1.226 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.8253, allocations: 13.66 kB / 1.226 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.8253, allocations: 0 / 1.226 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.8501, allocations: 2.743 MB / 1.229 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.742, allocations: 8.219 kB / 1.229 GB, free: 5.461 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.419910239987075]