Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_9_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_9_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.001638/0.001638, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001856/0.001856, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 63.89 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9296/0.9309, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002948/0.9339, allocations: 1.482 MB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.9354, allocations: 0.9037 MB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-05/0.9355, allocations: 2.312 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.9357, allocations: 39.58 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.138e-05/0.9358, allocations: 20.66 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000726/0.9365, allocations: 191.4 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.9367, allocations: 52.22 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.9367, allocations: 3.859 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.9368, allocations: 20.09 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.116e-05/0.9369, allocations: 19.38 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.9369, allocations: 1.938 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005289/0.9374, allocations: 173.4 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.9375, allocations: 5.469 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.9375, allocations: 14.78 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.9378, allocations: 127.9 kB / 1.092 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.9378, allocations: 0 / 1.092 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9378, allocations: 0 / 1.092 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.9379, allocations: 1.219 kB / 1.092 GB, free: 3.59 MB / 0.8575 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.0003938/0.9383, allocations: 367.2 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.9383, allocations: 9.406 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.9384, allocations: 81.94 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.9386, allocations: 255.2 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.9386, allocations: 159.6 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.9387, allocations: 151.7 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.973e-05/0.9387, allocations: 109.9 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.9387, allocations: 80.84 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.9388, allocations: 154.5 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.9388, allocations: 155.6 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/0.9388, allocations: 151.4 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.939, allocations: 468.7 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.409e-05/0.9391, allocations: 170 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.9391, allocations: 88.77 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.9391, allocations: 79.94 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.9392, allocations: 116.1 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.9392, allocations: 0 / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.07e-05/0.9393, allocations: 32.8 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.9393, allocations: 131.1 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.9394, allocations: 146.7 kB / 1.094 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.9395, allocations: 26.39 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.9395, allocations: 87.77 kB / 1.094 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.9395, allocations: 0 / 1.094 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.9395, allocations: 19.62 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.9397, allocations: 315.1 kB / 1.095 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.9397, allocations: 6.906 kB / 1.095 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.462e-05/0.9397, allocations: 3.203 kB / 1.095 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.396e-05/0.9397, allocations: 15.06 kB / 1.095 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9398, allocations: 4.031 kB / 1.095 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001318/0.9399, allocations: 52.88 kB / 1.095 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.9399, allocations: 4.562 kB / 1.095 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.9399, allocations: 3.016 kB / 1.095 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.94, allocations: 0 / 1.095 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.94, allocations: 0.8125 kB / 1.095 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.94, allocations: 1.516 kB / 1.095 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.201e-05/0.94, allocations: 4.656 kB / 1.095 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.94, allocations: 4.766 kB / 1.095 GB, free: 16.14 MB / 0.8731 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 9.741e-05/0.9401, allocations: 187.4 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.9402, allocations: 109.8 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.9403, allocations: 115.8 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-05/0.9403, allocations: 178.2 kB / 1.095 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.916e-05/0.9404, allocations: 177.9 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-05/0.9405, allocations: 190.4 kB / 1.096 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.9407, allocations: 409 kB / 1.096 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-05/0.9407, allocations: 115.2 kB / 1.096 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.9408, allocations: 105.6 kB / 1.096 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.24e-05/0.9409, allocations: 178.9 kB / 1.097 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/0.9409, allocations: 180.9 kB / 1.097 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.744e-05/0.941, allocations: 182.2 kB / 1.097 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.095e-05/0.9411, allocations: 182 kB / 1.097 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.9412, allocations: 307 kB / 1.097 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.9413, allocations: 193.2 kB / 1.098 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/0.9413, allocations: 182.5 kB / 1.098 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.731e-05/0.9414, allocations: 107.1 kB / 1.098 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.9415, allocations: 181 kB / 1.098 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.9416, allocations: 102.5 kB / 1.098 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.533e-05/0.9417, allocations: 105.1 kB / 1.098 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9417, allocations: 0 / 1.098 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003129/0.942, allocations: 34.97 kB / 1.098 GB, free: 12.56 MB / 0.8731 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.0003101/0.9423, allocations: 229.6 kB / 1.098 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.547e-05/0.9424, allocations: 33.14 kB / 1.099 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9424, allocations: 0 / 1.099 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.454e-06/0.9424, allocations: 1.344 kB / 1.099 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.9429, allocations: 470.8 kB / 1.099 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.9432, allocations: 257.9 kB / 1.099 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.9435, allocations: 0.683 MB / 1.1 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.9435, allocations: 9.562 kB / 1.1 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.9435, allocations: 0 / 1.1 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of Templates: time 0.003959/0.9475, allocations: 1.233 MB / 1.101 GB, free: 10.87 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches