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.001657/0.001657, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 197.5 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.603/2.603, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 72.31 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2791, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002831/0.282, allocations: 1.477 MB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.2833, allocations: 0.9112 MB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.2834, allocations: 0 / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.2836, allocations: 43.77 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.368e-05/0.2836, allocations: 19.84 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/0.2841, allocations: 195.2 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.654e-05/0.2842, allocations: 47.73 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.2842, allocations: 12 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.239e-05/0.2843, allocations: 15.88 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.196e-05/0.2843, allocations: 15.88 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.2844, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000297/0.2847, allocations: 151.8 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.298e-06/0.2847, allocations: 0 / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.2847, allocations: 15.88 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.2849, allocations: 127.9 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2849, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.965e-06/0.2849, allocations: 4 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.2849, allocations: 4 kB / 1.067 GB, free: 11.17 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.0003775/0.2853, allocations: 367.2 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.2854, allocations: 8.031 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.2855, allocations: 106 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.2856, allocations: 84.12 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.2858, allocations: 267.5 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/0.2859, allocations: 150.9 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.286, allocations: 154.9 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.029e-05/0.2861, allocations: 105.1 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.2861, allocations: 75.28 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/0.2862, allocations: 150.6 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-05/0.2862, allocations: 150.6 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.2863, allocations: 162.5 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.2867, allocations: 461.8 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.581e-05/0.2868, allocations: 173.1 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.2868, allocations: 84.14 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.2868, allocations: 75.28 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.2869, allocations: 117.7 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2869, allocations: 0 / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.384e-05/0.287, allocations: 33.69 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.2871, allocations: 130.6 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.2872, allocations: 135.6 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2872, allocations: 29.7 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.2873, allocations: 84.14 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.2873, allocations: 4 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.2873, allocations: 21.7 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2875, allocations: 326.8 kB / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.2875, allocations: 0 / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.065e-05/0.2875, allocations: 4 kB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.303e-05/0.2876, allocations: 20.78 kB / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2876, allocations: 0 / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001092/0.2877, allocations: 53.55 kB / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.2877, allocations: 8.062 kB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.2877, allocations: 0 / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2877, allocations: 0 / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.2877, allocations: 0 / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2878, allocations: 7.984 kB / 1.07 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.2878, allocations: 3.938 kB / 1.07 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.2878, allocations: 0 / 1.07 GB, free: 7.449 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 0.0001098/0.2879, allocations: 185.7 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.288, allocations: 112.8 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.288, allocations: 116.9 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.255e-05/0.2881, allocations: 184.2 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.219e-05/0.2882, allocations: 176.3 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-05/0.2883, allocations: 180.3 kB / 1.071 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.2888, allocations: 413.2 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.586e-05/0.2888, allocations: 112.9 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.2889, allocations: 112.9 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.549e-05/0.289, allocations: 176.3 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.185e-05/0.289, allocations: 176.3 kB / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.916e-05/0.2891, allocations: 184.2 kB / 1.072 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.631e-05/0.2892, allocations: 176.3 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.2894, allocations: 311.8 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.609e-05/0.2895, allocations: 189.9 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/0.2896, allocations: 184.2 kB / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-05/0.2897, allocations: 109 kB / 1.073 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/0.2898, allocations: 188.1 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.2898, allocations: 105 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.371e-05/0.2899, allocations: 96.67 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2899, allocations: 0 / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002991/0.2902, allocations: 31.98 kB / 1.074 GB, free: 3.781 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.000608/0.2908, allocations: 0.8671 MB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.708e-05/0.2909, allocations: 37.7 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2909, allocations: 0 / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.2909, allocations: 0 / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.2914, allocations: 473.5 kB / 1.075 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.2928, allocations: 1.443 MB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.2931, allocations: 0.6846 MB / 1.077 GB, free: 148 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.991e-05/0.2931, allocations: 8.062 kB / 1.077 GB, free: 140 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.2932, allocations: 19.44 kB / 1.077 GB, free: 120 kB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2932, allocations: 0 / 1.077 GB, free: 120 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.3241, allocations: 2.694 MB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.727/9.051, allocations: 10.53 kB / 1.08 GB, free: 13.55 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