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) 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 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, 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.001583/0.001583, allocations: 188.2 kB / 16.25 MB, free: 6.586 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 482.3 MB / 0.7543 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.05 kB / 0.9233 GB, free: 29.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2914, allocations: 162.2 MB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002958/0.2944, allocations: 1.547 MB / 1.083 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.2958, allocations: 0.8958 MB / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.2959, allocations: 0 / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.2962, allocations: 47.81 kB / 1.084 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.295e-05/0.2962, allocations: 11.86 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005545/0.2968, allocations: 189.8 kB / 1.084 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.613e-05/0.2969, allocations: 43.69 kB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.2969, allocations: 7.984 kB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.283e-05/0.297, allocations: 23.86 kB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.143e-05/0.297, allocations: 15.88 kB / 1.084 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.297, allocations: 0 / 1.084 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.2973, allocations: 147.8 kB / 1.085 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.2974, allocations: 8 kB / 1.085 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.2974, allocations: 15.88 kB / 1.085 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.2976, allocations: 123.9 kB / 1.085 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2976, allocations: 0 / 1.085 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2977, allocations: 0 / 1.085 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.2977, allocations: 0 / 1.085 GB, free: 10.58 MB / 0.8419 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.0004022/0.2981, allocations: 375.1 kB / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2981, allocations: 12.03 kB / 1.085 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.2982, allocations: 76.22 kB / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.2984, allocations: 267.4 kB / 1.085 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/0.2985, allocations: 154.9 kB / 1.086 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/0.2986, allocations: 158.9 kB / 1.086 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.208e-05/0.2987, allocations: 105.3 kB / 1.086 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/0.2987, allocations: 75.28 kB / 1.086 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.844e-05/0.2988, allocations: 150.6 kB / 1.086 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.814e-05/0.2988, allocations: 154.6 kB / 1.086 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.192e-05/0.2989, allocations: 150.6 kB / 1.086 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.2992, allocations: 465.9 kB / 1.087 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.625e-05/0.2993, allocations: 165.1 kB / 1.087 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.2994, allocations: 84.14 kB / 1.087 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.2994, allocations: 79.28 kB / 1.087 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/0.2995, allocations: 113.8 kB / 1.087 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.2995, allocations: 0 / 1.087 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.29e-05/0.2996, allocations: 37.55 kB / 1.087 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.2997, allocations: 126.7 kB / 1.087 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.2998, allocations: 144.8 kB / 1.087 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.2998, allocations: 25.7 kB / 1.088 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.2999, allocations: 92.08 kB / 1.088 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.2999, allocations: 0 / 1.088 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.3, allocations: 17.72 kB / 1.088 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3001, allocations: 314.8 kB / 1.088 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/0.3001, allocations: 8 kB / 1.088 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/0.3002, allocations: 4 kB / 1.088 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.3002, allocations: 16.89 kB / 1.088 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3002, allocations: 4 kB / 1.088 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001294/0.3003, allocations: 57.5 kB / 1.088 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3004, allocations: 4 kB / 1.088 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.3004, allocations: 4 kB / 1.088 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3004, allocations: 0 / 1.088 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3004, allocations: 0 / 1.088 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.247e-06/0.3004, allocations: 0 / 1.088 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.3004, allocations: 0 / 1.088 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.3005, allocations: 4 kB / 1.088 GB, free: 6.973 MB / 0.8419 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.0001137/0.3006, allocations: 197.1 kB / 1.088 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.3006, allocations: 112.8 kB / 1.088 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.22e-05/0.3007, allocations: 112.6 kB / 1.088 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.251e-05/0.3008, allocations: 184.3 kB / 1.089 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.536e-05/0.3009, allocations: 180.2 kB / 1.089 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.561e-05/0.301, allocations: 188.2 kB / 1.089 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.3012, allocations: 409.3 kB / 1.089 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-05/0.3013, allocations: 108.9 kB / 1.089 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.3013, allocations: 108.9 kB / 1.09 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.591e-05/0.3014, allocations: 188.2 kB / 1.09 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.368e-05/0.3015, allocations: 176.3 kB / 1.09 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.35e-05/0.3016, allocations: 180.3 kB / 1.09 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.36e-05/0.3017, allocations: 180.2 kB / 1.09 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.3018, allocations: 315.7 kB / 1.091 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.153e-05/0.3019, allocations: 186 kB / 1.091 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.751e-05/0.302, allocations: 184.3 kB / 1.091 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.212e-05/0.3021, allocations: 104.9 kB / 1.091 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.3022, allocations: 180.3 kB / 1.091 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.3022, allocations: 108.9 kB / 1.091 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.645e-05/0.3023, allocations: 100.5 kB / 1.091 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3023, allocations: 3.938 kB / 1.091 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002759/0.3026, allocations: 32 kB / 1.091 GB, free: 3.285 MB / 0.8419 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.0002962/0.3029, allocations: 222.4 kB / 1.092 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.418e-05/0.303, allocations: 37.7 kB / 1.092 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.303, allocations: 0 / 1.092 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.303, allocations: 0 / 1.092 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.3035, allocations: 471.7 kB / 1.092 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.3038, allocations: 230.9 kB / 1.092 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.3042, allocations: 0.6885 MB / 1.093 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.286e-05/0.3042, allocations: 4.25 kB / 1.093 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.3042, allocations: 7.438 kB / 1.093 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.3042, allocations: 0 / 1.093 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.004206/0.3084, allocations: 1.513 MB / 1.094 GB, free: 100 kB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches