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.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.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.001459/0.001459, 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.001589/0.001589, allocations: 193.2 kB / 16.25 MB, free: 6.633 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.513/1.513, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.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.406/2.406, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6664/0.668, allocations: 140.4 MB / 0.9491 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002026/0.67, allocations: 1.35 MB / 0.9504 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003112/0.6731, allocations: 3.726 MB / 0.9541 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.6732, allocations: 4 kB / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.6732, allocations: 5.109 kB / 0.9541 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.6736, allocations: 87.09 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.6739, allocations: 118.3 kB / 0.9543 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.6739, allocations: 28.94 kB / 0.9543 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.291e-05/0.674, allocations: 10.53 kB / 0.9543 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.841e-05/0.6741, allocations: 25.86 kB / 0.9543 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.845e-05/0.6742, allocations: 36.5 kB / 0.9544 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.867e-06/0.6742, allocations: 1.156 kB / 0.9544 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003812/0.6746, allocations: 304.8 kB / 0.9547 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.6746, allocations: 5.375 kB / 0.9547 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.967e-05/0.6746, allocations: 11.64 kB / 0.9547 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.6748, allocations: 113 kB / 0.9548 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.6748, allocations: 0 / 0.9548 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6748, allocations: 4 kB / 0.9548 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.6748, allocations: 0 / 0.9548 GB, free: 4.633 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.0002851/0.6751, allocations: 359.1 kB / 0.9551 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.6751, allocations: 9.688 kB / 0.9551 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.6752, allocations: 5.594 kB / 0.9551 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.433e-05/0.6752, allocations: 170.8 kB / 0.9553 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.6753, allocations: 384 / 0.9553 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.6753, allocations: 1.469 kB / 0.9553 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.279e-05/0.6753, allocations: 45.31 kB / 0.9553 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-06/0.6754, allocations: 0 / 0.9553 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.6754, allocations: 1.094 kB / 0.9554 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.6754, allocations: 0 / 0.9554 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.999e-05/0.6754, allocations: 3.594 kB / 0.9554 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.889e-05/0.6755, allocations: 158.1 kB / 0.9555 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.995e-05/0.6756, allocations: 24.89 kB / 0.9555 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.6756, allocations: 6.984 kB / 0.9555 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.6758, allocations: 103.9 kB / 0.9556 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.6758, allocations: 38.44 kB / 0.9557 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6758, allocations: 1.188 kB / 0.9557 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001148/0.6759, allocations: 40.39 kB / 0.9557 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.676, allocations: 51.41 kB / 0.9558 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.482e-05/0.676, allocations: 105 kB / 0.9559 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.062e-06/0.676, allocations: 29.7 kB / 0.9559 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.381e-05/0.6761, allocations: 81.55 kB / 0.956 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.6761, allocations: 11.91 kB / 0.956 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.6761, allocations: 16.36 kB / 0.956 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.552e-05/0.6761, allocations: 312 kB / 0.9563 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.6762, allocations: 2.531 kB / 0.9563 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.065e-05/0.6762, allocations: 2.406 kB / 0.9563 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.751e-05/0.6762, allocations: 22.7 kB / 0.9563 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6762, allocations: 0 / 0.9563 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.577e-05/0.6763, allocations: 51.16 kB / 0.9564 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.6763, allocations: 4.812 kB / 0.9564 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.6763, allocations: 8.969 kB / 0.9564 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.6763, allocations: 0 / 0.9564 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.593e-05/0.6764, allocations: 7.281 kB / 0.9564 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.6764, allocations: 1.188 kB / 0.9564 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.6764, allocations: 0 / 0.9564 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-06/0.6764, allocations: 1.156 kB / 0.9564 GB, free: 2.867 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 3.794e-05/0.6765, allocations: 111.2 kB / 0.9565 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.6765, allocations: 5.281 kB / 0.9565 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.863e-05/0.6766, allocations: 50.91 kB / 0.9565 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.6766, allocations: 1.312 kB / 0.9565 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.6766, allocations: 0 / 0.9565 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.6766, allocations: 1.312 kB / 0.9565 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.792e-05/0.6766, allocations: 157.9 kB / 0.9567 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6767, allocations: 4.031 kB / 0.9567 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.6767, allocations: 6.688 kB / 0.9567 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6767, allocations: 1.5 kB / 0.9567 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.6767, allocations: 3.984 kB / 0.9567 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6767, allocations: 0 / 0.9567 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6767, allocations: 1.156 kB / 0.9567 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.847e-05/0.6768, allocations: 63.33 kB / 0.9568 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.6768, allocations: 90.31 kB / 0.9569 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.6768, allocations: 5.062 kB / 0.9569 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.439e-05/0.6768, allocations: 0 / 0.9569 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.6769, allocations: 1.531 kB / 0.9569 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.6769, allocations: 5.438 kB / 0.9569 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.879e-05/0.6769, allocations: 78.25 kB / 0.9569 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6769, allocations: 0 / 0.9569 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000207/0.6771, allocations: 26.14 kB / 0.957 GB, free: 2.219 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.0001595/0.6773, allocations: 127.2 kB / 0.9571 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.678e-05/0.6773, allocations: 19.86 kB / 0.9571 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6773, allocations: 0 / 0.9571 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/0.6774, allocations: 8.031 kB / 0.9571 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.6775, allocations: 1.406 kB / 0.9571 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002159/0.6778, allocations: 134.8 kB / 0.9573 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.104e-05/0.6779, allocations: 0.6853 MB / 0.9579 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.6779, allocations: 6.781 kB / 0.9579 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/0.6779, allocations: 8.5 kB / 0.9579 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6779, allocations: 1.156 kB / 0.9579 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of Templates: time 0.002542/0.6805, allocations: 0.7517 MB / 0.9587 GB, free: 0.8711 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/jenkins/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