Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001716/0.001716, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001856/0.001856, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 497.2 MB / 0.7812 GB, free: 11.94 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.89 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9628/0.9648, allocations: 173.9 MB / 1.304 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002188/0.967, allocations: 1.478 MB / 1.305 GB, free: 31.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.9681, allocations: 0.9103 MB / 1.306 GB, free: 30.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.9682, allocations: 0 / 1.306 GB, free: 30.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.9684, allocations: 47.36 kB / 1.306 GB, free: 30.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.27e-05/0.9684, allocations: 15.19 kB / 1.306 GB, free: 30.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.9689, allocations: 196.2 kB / 1.307 GB, free: 30.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.861e-05/0.9689, allocations: 46.92 kB / 1.307 GB, free: 30.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.969, allocations: 6.562 kB / 1.307 GB, free: 30.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.692e-05/0.9691, allocations: 26.56 kB / 1.307 GB, free: 30.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.78e-05/0.9691, allocations: 16.55 kB / 1.307 GB, free: 30.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.9691, allocations: 0 / 1.307 GB, free: 30.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.9694, allocations: 164.3 kB / 1.307 GB, free: 30.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.9694, allocations: 10.66 kB / 1.307 GB, free: 30.28 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.9694, allocations: 17.53 kB / 1.307 GB, free: 30.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.9696, allocations: 122.2 kB / 1.307 GB, free: 30.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.9696, allocations: 2.781 kB / 1.307 GB, free: 30.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9696, allocations: 0 / 1.307 GB, free: 30.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.9696, allocations: 0 / 1.307 GB, free: 30.24 MB / 1.061 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.0003117/0.9699, allocations: 373.6 kB / 1.307 GB, free: 29.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.97, allocations: 12.59 kB / 1.307 GB, free: 29.85 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.97, allocations: 106 kB / 1.307 GB, free: 29.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.97, allocations: 91.06 kB / 1.308 GB, free: 29.65 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.9702, allocations: 274.6 kB / 1.308 GB, free: 29.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.9702, allocations: 150.9 kB / 1.308 GB, free: 29.21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.9703, allocations: 157.9 kB / 1.308 GB, free: 29.05 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.076e-05/0.9703, allocations: 105.1 kB / 1.308 GB, free: 28.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.9703, allocations: 79.28 kB / 1.308 GB, free: 28.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.9703, allocations: 150.6 kB / 1.308 GB, free: 28.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.9704, allocations: 150.6 kB / 1.309 GB, free: 28.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.583e-05/0.9704, allocations: 158.5 kB / 1.309 GB, free: 28.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.9706, allocations: 465.2 kB / 1.309 GB, free: 27.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.583e-05/0.9706, allocations: 169.1 kB / 1.309 GB, free: 27.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.9707, allocations: 84.14 kB / 1.309 GB, free: 27.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.9707, allocations: 78.03 kB / 1.309 GB, free: 27.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.9707, allocations: 109.8 kB / 1.31 GB, free: 27.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.9707, allocations: 0 / 1.31 GB, free: 27.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.882e-05/0.9708, allocations: 36.59 kB / 1.31 GB, free: 27.44 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.9708, allocations: 130.7 kB / 1.31 GB, free: 27.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.9709, allocations: 134.5 kB / 1.31 GB, free: 27.19 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.211e-06/0.9709, allocations: 25.7 kB / 1.31 GB, free: 27.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.971, allocations: 90.98 kB / 1.31 GB, free: 27.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.971, allocations: 0 / 1.31 GB, free: 27.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.971, allocations: 16.36 kB / 1.31 GB, free: 27.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.707e-05/0.971, allocations: 317.8 kB / 1.31 GB, free: 26.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.9711, allocations: 10.31 kB / 1.31 GB, free: 26.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.9711, allocations: 6.719 kB / 1.31 GB, free: 26.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.254e-05/0.9711, allocations: 11.83 kB / 1.31 GB, free: 26.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.9711, allocations: 2.969 kB / 1.31 GB, free: 26.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001035/0.9712, allocations: 52.7 kB / 1.31 GB, free: 26.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.9712, allocations: 6.312 kB / 1.31 GB, free: 26.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.9712, allocations: 3.031 kB / 1.31 GB, free: 26.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.9713, allocations: 0 / 1.31 GB, free: 26.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.9713, allocations: 0 / 1.31 GB, free: 26.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.9713, allocations: 0 / 1.31 GB, free: 26.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.9713, allocations: 4.062 kB / 1.31 GB, free: 26.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.9713, allocations: 2.969 kB / 1.31 GB, free: 26.67 MB / 1.061 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 5.083e-05/0.9713, allocations: 181.1 kB / 1.311 GB, free: 26.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.9714, allocations: 123 kB / 1.311 GB, free: 26.36 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.9714, allocations: 111.6 kB / 1.311 GB, free: 26.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.9714, allocations: 176.3 kB / 1.311 GB, free: 26.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-05/0.9714, allocations: 190.1 kB / 1.311 GB, free: 25.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/0.9715, allocations: 184.2 kB / 1.311 GB, free: 25.69 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.9716, allocations: 417.3 kB / 1.312 GB, free: 25.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.9716, allocations: 108.3 kB / 1.312 GB, free: 25.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.346e-05/0.9716, allocations: 101 kB / 1.312 GB, free: 25.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.309e-05/0.9717, allocations: 187.1 kB / 1.312 GB, free: 24.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.9717, allocations: 176.3 kB / 1.312 GB, free: 24.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-05/0.9717, allocations: 184.2 kB / 1.312 GB, free: 24.47 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.411e-05/0.9717, allocations: 186.6 kB / 1.313 GB, free: 24.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.274e-05/0.9718, allocations: 310.4 kB / 1.313 GB, free: 23.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.9718, allocations: 188.4 kB / 1.313 GB, free: 23.76 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.9719, allocations: 183 kB / 1.313 GB, free: 23.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.272e-05/0.9719, allocations: 101 kB / 1.313 GB, free: 23.47 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.9719, allocations: 180.3 kB / 1.314 GB, free: 23.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.972, allocations: 107.9 kB / 1.314 GB, free: 23.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.972, allocations: 105.2 kB / 1.314 GB, free: 23.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.972, allocations: 4 kB / 1.314 GB, free: 23.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002477/0.9722, allocations: 33.81 kB / 1.314 GB, free: 23.08 MB / 1.061 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.0003368/0.9726, allocations: 0.8603 MB / 1.315 GB, free: 22.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.755e-05/0.9727, allocations: 42.28 kB / 1.315 GB, free: 22.21 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9727, allocations: 0 / 1.315 GB, free: 22.21 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.9727, allocations: 0 / 1.315 GB, free: 22.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.973, allocations: 465.6 kB / 1.315 GB, free: 21.76 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009184/0.9739, allocations: 1.469 MB / 1.317 GB, free: 20.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.974, allocations: 0.6851 MB / 1.317 GB, free: 19.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.798e-05/0.974, allocations: 2.875 kB / 1.317 GB, free: 19.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.974, allocations: 14.31 kB / 1.317 GB, free: 19.67 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.974, allocations: 0 / 1.317 GB, free: 19.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.999, allocations: 2.746 MB / 1.32 GB, free: 19.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.928, allocations: 18.44 kB / 1.32 GB, free: 19.27 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.183583284262568]