Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009081/0.009081, allocations: 101.4 kB / 15.88 MB, free: 5.863 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.001685/0.001685, allocations: 190.9 kB / 16.79 MB, free: 5.805 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.407/1.407, allocations: 222.9 MB / 240.5 MB, free: 4.555 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.383/2.383, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001469, allocations: 63.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7552/0.7567, allocations: 140.4 MB / 0.9496 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002291/0.759, allocations: 1.353 MB / 0.9509 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003707/0.7628, allocations: 3.768 MB / 0.9546 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.957e-05/0.7628, allocations: 0 / 0.9546 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.7628, allocations: 0 / 0.9546 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.7633, allocations: 89.02 kB / 0.9547 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.7635, allocations: 97.19 kB / 0.9548 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.196e-05/0.7636, allocations: 35.89 kB / 0.9548 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.7637, allocations: 1.781 kB / 0.9548 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.7638, allocations: 27.16 kB / 0.9548 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.7639, allocations: 40.75 kB / 0.9549 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.7639, allocations: 0 / 0.9549 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004253/0.7643, allocations: 303.9 kB / 0.9552 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.7643, allocations: 1.344 kB / 0.9552 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.7644, allocations: 7.344 kB / 0.9552 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.7645, allocations: 73.55 kB / 0.9552 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7645, allocations: 0 / 0.9552 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.12e-07/0.7645, allocations: 5.531 kB / 0.9552 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.7646, allocations: 0 / 0.9552 GB, free: 4.672 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003452/0.7649, allocations: 363.5 kB / 0.9556 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.7649, allocations: 9.438 kB / 0.9556 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.765, allocations: 6.031 kB / 0.9556 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.638e-05/0.7651, allocations: 161.5 kB / 0.9558 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.7651, allocations: 1.625 kB / 0.9558 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.7651, allocations: 384 / 0.9558 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.42e-05/0.7652, allocations: 49.34 kB / 0.9558 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.7652, allocations: 1.312 kB / 0.9558 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.7652, allocations: 0 / 0.9558 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.7652, allocations: 3.938 kB / 0.9558 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.7653, allocations: 4.812 kB / 0.9558 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.7654, allocations: 157.8 kB / 0.956 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.719e-05/0.7655, allocations: 19.36 kB / 0.956 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.7655, allocations: 12.86 kB / 0.956 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.7657, allocations: 103 kB / 0.9561 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.7657, allocations: 38.44 kB / 0.9561 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.7657, allocations: 0 / 0.9561 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001383/0.7659, allocations: 41.02 kB / 0.9562 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.7659, allocations: 52.81 kB / 0.9562 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.781e-05/0.766, allocations: 103.9 kB / 0.9563 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.766, allocations: 29.7 kB / 0.9563 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.835e-05/0.766, allocations: 81.58 kB / 0.9564 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.766, allocations: 7.844 kB / 0.9564 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.7661, allocations: 12.66 kB / 0.9564 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.7661, allocations: 320.3 kB / 0.9567 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.7661, allocations: 1.344 kB / 0.9568 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.083e-05/0.7662, allocations: 3.75 kB / 0.9568 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.005e-05/0.7662, allocations: 22.48 kB / 0.9568 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7662, allocations: 4 kB / 0.9568 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.889e-05/0.7663, allocations: 43.45 kB / 0.9568 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.7663, allocations: 12.45 kB / 0.9568 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.7663, allocations: 0 / 0.9568 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.7663, allocations: 1.469 kB / 0.9568 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.7664, allocations: 2.812 kB / 0.9568 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.7664, allocations: 0 / 0.9568 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.7664, allocations: 0.9062 kB / 0.9568 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.7664, allocations: 5.125 kB / 0.9568 GB, free: 2.906 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 4.989e-05/0.7665, allocations: 111 kB / 0.9569 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.7665, allocations: 5.094 kB / 0.957 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.924e-05/0.7666, allocations: 54.95 kB / 0.957 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.7666, allocations: 1.281 kB / 0.957 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7666, allocations: 0 / 0.957 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.7666, allocations: 1.031 kB / 0.957 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.715e-05/0.7667, allocations: 153.1 kB / 0.9572 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.7667, allocations: 9.094 kB / 0.9572 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.7667, allocations: 7.438 kB / 0.9572 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7667, allocations: 0 / 0.9572 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.7667, allocations: 1 kB / 0.9572 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7667, allocations: 0 / 0.9572 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7667, allocations: 0 / 0.9572 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.835e-05/0.7669, allocations: 68.28 kB / 0.9572 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.7669, allocations: 94.28 kB / 0.9573 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.7669, allocations: 1.219 kB / 0.9573 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.438e-05/0.7669, allocations: 0 / 0.9573 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.7669, allocations: 1.344 kB / 0.9573 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.767, allocations: 1.094 kB / 0.9573 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.541e-05/0.767, allocations: 83.22 kB / 0.9574 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.767, allocations: 0 / 0.9574 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002001/0.7672, allocations: 24.98 kB / 0.9574 GB, free: 2.254 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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.0001778/0.7674, allocations: 131.2 kB / 0.9576 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.7675, allocations: 8.031 kB / 0.9576 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7675, allocations: 0 / 0.9576 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.632e-05/0.7675, allocations: 12.7 kB / 0.9576 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.7677, allocations: 9.125 kB / 0.9576 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.768, allocations: 165.8 kB / 0.9577 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.7681, allocations: 0.6767 MB / 0.9584 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.7681, allocations: 14.34 kB / 0.9584 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7681, allocations: 0 / 0.9584 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of Templates: time 0.002094/0.7702, allocations: 0.7068 MB / 0.9591 GB, free: 0.9141 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches