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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002248/0.002248, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002206/0.002206, allocations: 189 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.185/1.185, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.32/2.32, allocations: 469.8 MB / 0.7421 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 73.31 kB / 0.9082 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2152, allocations: 159.2 MB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002177/0.2175, allocations: 1.542 MB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2185, allocations: 0.8959 MB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.2186, allocations: 0 / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.2188, allocations: 47.75 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.317e-05/0.2188, allocations: 11.92 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.2192, allocations: 180.2 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.2193, allocations: 47.69 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.126e-05/0.2193, allocations: 7.984 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.774e-05/0.2194, allocations: 19.88 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.725e-05/0.2194, allocations: 19.86 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.303e-06/0.2194, allocations: 0 / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.2197, allocations: 147.8 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.899e-06/0.2197, allocations: 3.984 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.2197, allocations: 23.88 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.2199, allocations: 123.9 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2199, allocations: 3.938 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2199, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.2199, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8262 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.0003104/0.2202, allocations: 363.2 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.2203, allocations: 12.03 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.2203, allocations: 114 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.2204, allocations: 84.12 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.2206, allocations: 259.5 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.2206, allocations: 154.9 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/0.2207, allocations: 150.9 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.809e-05/0.2207, allocations: 105.1 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.2208, allocations: 79.28 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/0.2208, allocations: 154.6 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.532e-05/0.2209, allocations: 150.6 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.187e-05/0.2209, allocations: 154.5 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.2212, allocations: 465.8 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.444e-05/0.2213, allocations: 173.1 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.2213, allocations: 84.12 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.2214, allocations: 75.28 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.2214, allocations: 109.8 kB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.2214, allocations: 3.938 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.155e-05/0.2215, allocations: 37.75 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.2215, allocations: 130.7 kB / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2217, allocations: 139.4 kB / 1.069 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.2217, allocations: 25.7 kB / 1.069 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.2217, allocations: 92.14 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.2217, allocations: 0 / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.2218, allocations: 13.72 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2219, allocations: 322.8 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.2219, allocations: 0 / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.2219, allocations: 12 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.2219, allocations: 12.8 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2219, allocations: 0 / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.597e-05/0.222, allocations: 53.53 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2221, allocations: 8 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.2221, allocations: 0 / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.2221, allocations: 0 / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-07/0.2221, allocations: 0 / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2221, allocations: 4 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.2221, allocations: 7.938 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.2221, allocations: 4.062 kB / 1.07 GB, free: 7.648 MB / 0.8262 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 8.437e-05/0.2222, allocations: 189.1 kB / 1.07 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.2223, allocations: 120.7 kB / 1.07 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.2223, allocations: 108.9 kB / 1.07 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.614e-05/0.2224, allocations: 176.3 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.135e-05/0.2225, allocations: 188.2 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.828e-05/0.2225, allocations: 184.4 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.2227, allocations: 413.2 kB / 1.071 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.463e-05/0.2228, allocations: 104.9 kB / 1.071 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.2228, allocations: 105 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-05/0.2229, allocations: 188.2 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.934e-05/0.2229, allocations: 180.3 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.832e-05/0.223, allocations: 180.2 kB / 1.072 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.808e-05/0.2231, allocations: 180.3 kB / 1.072 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.2232, allocations: 307.8 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.2233, allocations: 197.9 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.2233, allocations: 180.2 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.2234, allocations: 101 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.2235, allocations: 184.2 kB / 1.073 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.2235, allocations: 112.9 kB / 1.073 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.193e-05/0.2236, allocations: 97.14 kB / 1.073 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2236, allocations: 0 / 1.073 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002167/0.2238, allocations: 32 kB / 1.073 GB, free: 3.973 MB / 0.8262 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.0004637/0.2243, allocations: 0.8631 MB / 1.074 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.7e-05/0.2243, allocations: 33.7 kB / 1.074 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.2244, allocations: 0 / 1.074 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.2244, allocations: 8.062 kB / 1.074 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.2247, allocations: 461.8 kB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.2257, allocations: 1.461 MB / 1.076 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.226, allocations: 0.6807 MB / 1.077 GB, free: 344 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.565e-05/0.226, allocations: 4.25 kB / 1.077 GB, free: 340 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.226, allocations: 15.42 kB / 1.077 GB, free: 324 kB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.226, allocations: 0 / 1.077 GB, free: 324 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.51/4.736, allocations: 2.635 MB / 1.079 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002742/4.736, allocations: 234.2 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/7.147, allocations: 2.5 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB (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 --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) 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) Reference file matches