Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001359/0.00136, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.9 MB / 0.666 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004109, allocations: 12 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6372/0.6376, allocations: 142.4 MB / 0.9545 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002388/0.64, allocations: 2.601 MB / 0.957 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.6418, allocations: 1.946 MB / 0.9589 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.642, allocations: 9.188 kB / 0.9589 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009474/0.643, allocations: 431.6 kB / 0.9593 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.6431, allocations: 129 kB / 0.9595 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.877e-05/0.6432, allocations: 41.45 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000356/0.6436, allocations: 415.2 kB / 0.9599 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.6438, allocations: 118.9 kB / 0.96 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.6439, allocations: 138.4 kB / 0.9601 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.6441, allocations: 160.3 kB / 0.9603 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.6442, allocations: 18.88 kB / 0.9603 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.139e-05/0.6442, allocations: 18.38 kB / 0.9603 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.815e-05/0.6443, allocations: 75.97 kB / 0.9604 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.46e-05/0.6444, allocations: 104.1 kB / 0.9605 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.6447, allocations: 442.7 kB / 0.9609 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6447, allocations: 5.156 kB / 0.9609 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.365e-06/0.6447, allocations: 0 / 0.9609 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.6447, allocations: 0 / 0.9609 GB, free: 2.742 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007356/0.6455, allocations: 0.6548 MB / 0.9616 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.6455, allocations: 9.781 kB / 0.9616 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.6456, allocations: 49.11 kB / 0.9616 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.646, allocations: 358.4 kB / 0.962 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.646, allocations: 17 kB / 0.962 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.646, allocations: 18 kB / 0.962 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.6464, allocations: 201.6 kB / 0.9622 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.6464, allocations: 1.062 kB / 0.9622 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.6464, allocations: 9.312 kB / 0.9622 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.6464, allocations: 12.94 kB / 0.9622 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.6468, allocations: 176.1 kB / 0.9624 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009834/0.6478, allocations: 0.8786 MB / 0.9632 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.6481, allocations: 156.3 kB / 0.9634 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.6483, allocations: 117.3 kB / 0.9635 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.6483, allocations: 2.156 kB / 0.9635 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.6483, allocations: 39.58 kB / 0.9635 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.6483, allocations: 0 / 0.9635 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0005402/0.6489, allocations: 265.1 kB / 0.9638 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.6489, allocations: 62.28 kB / 0.9638 GB, free: 440 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/0.6493, allocations: 408.7 kB / 0.9642 GB, free: 192 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.6493, allocations: 29.7 kB / 0.9643 GB, free: 156 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.6495, allocations: 208.9 kB / 0.9645 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.788e-05/0.6495, allocations: 62.92 kB / 0.9645 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.6496, allocations: 5.156 kB / 0.9645 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6497, allocations: 352.4 kB / 0.9649 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.6499, allocations: 63.69 kB / 0.9649 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.65, allocations: 67.3 kB / 0.965 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.6501, allocations: 65.91 kB / 0.9651 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6502, allocations: 3.938 kB / 0.9651 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003808/0.6505, allocations: 216.3 kB / 0.9653 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.6506, allocations: 5.719 kB / 0.9653 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6506, allocations: 0 / 0.9653 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.6506, allocations: 0.9688 kB / 0.9653 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.6509, allocations: 64.66 kB / 0.9653 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.6509, allocations: 5.203 kB / 0.9653 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.651, allocations: 22.73 kB / 0.9654 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.651, allocations: 11.73 kB / 0.9654 GB, free: 15.31 MB / 0.7325 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.6512, allocations: 163.1 kB / 0.9655 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.6513, allocations: 35.06 kB / 0.9656 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.372e-05/0.6513, allocations: 44.75 kB / 0.9656 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.6514, allocations: 7.5 kB / 0.9656 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6514, allocations: 3.938 kB / 0.9656 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.6514, allocations: 3.984 kB / 0.9656 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.6518, allocations: 371.9 kB / 0.966 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.6518, allocations: 0 / 0.966 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.652, allocations: 52.47 kB / 0.966 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.6521, allocations: 1.031 kB / 0.966 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.6521, allocations: 4.969 kB / 0.966 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.6521, allocations: 8.984 kB / 0.966 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6521, allocations: 1.219 kB / 0.966 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005962/0.6527, allocations: 397.2 kB / 0.9664 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.6528, allocations: 115.5 kB / 0.9665 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.6529, allocations: 5.125 kB / 0.9665 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.653, allocations: 16.3 kB / 0.9665 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.6531, allocations: 9.016 kB / 0.9666 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.6531, allocations: 4.062 kB / 0.9666 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003242/0.6534, allocations: 306.5 kB / 0.9668 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6534, allocations: 0 / 0.9668 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003199/0.6538, allocations: 71.5 kB / 0.9669 GB, free: 14.15 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001189/0.6539, allocations: 110.5 kB / 0.967 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.6542, allocations: 164.2 kB / 0.9672 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6543, allocations: 3.938 kB / 0.9672 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.6544, allocations: 81.88 kB / 0.9673 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.655, allocations: 99.02 kB / 0.9674 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.6563, allocations: 0.8945 MB / 0.9682 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.6567, allocations: 0.7969 MB / 0.969 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.6568, allocations: 37.95 kB / 0.969 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.6569, allocations: 24.25 kB / 0.9691 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.6569, allocations: 4 kB / 0.9691 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.007705/0.6646, allocations: 3.555 MB / 0.9725 GB, free: 10.78 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches