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.001333/0.001333, allocations: 106.8 kB / 16.37 MB, free: 6.012 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.001458/0.001458, allocations: 195.3 kB / 17.31 MB, free: 5.613 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.235/2.235, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 61.17 kB / 0.814 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2826, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002667/0.2854, allocations: 1.289 MB / 0.9524 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004653/0.29, allocations: 3.769 MB / 0.9561 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.2901, allocations: 0 / 0.9561 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.2902, allocations: 0 / 0.9561 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.2907, allocations: 103.5 kB / 0.9562 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.2911, allocations: 131.5 kB / 0.9563 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.618e-05/0.2912, allocations: 23.92 kB / 0.9563 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.2912, allocations: 3.984 kB / 0.9563 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.2914, allocations: 31.84 kB / 0.9564 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.2915, allocations: 35.91 kB / 0.9564 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.2915, allocations: 4 kB / 0.9564 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005049/0.292, allocations: 303.6 kB / 0.9567 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.2921, allocations: 3.984 kB / 0.9567 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.2921, allocations: 15.88 kB / 0.9567 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.2923, allocations: 115.7 kB / 0.9568 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.2923, allocations: 4 kB / 0.9568 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2923, allocations: 0 / 0.9568 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2924, allocations: 0 / 0.9568 GB, free: 2.184 MB / 0.7325 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.0004935/0.2929, allocations: 355.5 kB / 0.9572 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2929, allocations: 12.03 kB / 0.9572 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.2929, allocations: 4.844 kB / 0.9572 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2931, allocations: 164.4 kB / 0.9573 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.2931, allocations: 384 / 0.9573 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.2931, allocations: 384 / 0.9573 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.2932, allocations: 41.81 kB / 0.9574 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2932, allocations: 0 / 0.9574 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.2933, allocations: 0 / 0.9574 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2933, allocations: 0 / 0.9574 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.955e-05/0.2933, allocations: 7.938 kB / 0.9574 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.2935, allocations: 157.7 kB / 0.9575 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.969e-05/0.2936, allocations: 22.61 kB / 0.9575 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.2936, allocations: 12.86 kB / 0.9576 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/0.2939, allocations: 101.1 kB / 0.9577 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.2939, allocations: 38.5 kB / 0.9577 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.525e-06/0.2939, allocations: 0 / 0.9577 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001513/0.2941, allocations: 53.48 kB / 0.9577 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.2941, allocations: 51.41 kB / 0.9578 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.243e-05/0.2942, allocations: 105.8 kB / 0.9579 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.2942, allocations: 25.7 kB / 0.9579 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.2943, allocations: 80.14 kB / 0.958 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.2943, allocations: 0 / 0.958 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.2943, allocations: 21.84 kB / 0.958 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2945, allocations: 314.8 kB / 0.9583 GB, free: 424 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.2945, allocations: 4 kB / 0.9583 GB, free: 420 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-06/0.2945, allocations: 0 / 0.9583 GB, free: 420 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.2945, allocations: 16.86 kB / 0.9583 GB, free: 400 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2945, allocations: 0 / 0.9583 GB, free: 400 kB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.452e-05/0.2946, allocations: 49.47 kB / 0.9584 GB, free: 344 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2946, allocations: 4 kB / 0.9584 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2946, allocations: 8.094 kB / 0.9584 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2946, allocations: 0 / 0.9584 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-05/0.2947, allocations: 0 / 0.9584 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2947, allocations: 7.938 kB / 0.9584 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.2947, allocations: 0 / 0.9584 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.2948, allocations: 0 / 0.9584 GB, free: 324 kB / 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 (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 8.012e-05/0.2948, allocations: 109.8 kB / 0.9585 GB, free: 204 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.2949, allocations: 7.938 kB / 0.9585 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.295, allocations: 52.75 kB / 0.9586 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.295, allocations: 0 / 0.9586 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.295, allocations: 0 / 0.9586 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.295, allocations: 7.984 kB / 0.9586 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.2951, allocations: 153.7 kB / 0.9587 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2952, allocations: 0 / 0.9587 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.2952, allocations: 7.938 kB / 0.9587 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2952, allocations: 0 / 0.9587 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.2952, allocations: 0 / 0.9587 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.2952, allocations: 3.984 kB / 0.9587 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2952, allocations: 4.031 kB / 0.9587 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.034e-05/0.2953, allocations: 61.14 kB / 0.9588 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.2954, allocations: 92.88 kB / 0.9589 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.2954, allocations: 4.188 kB / 0.9589 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.619e-05/0.2954, allocations: 4 kB / 0.9589 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.2954, allocations: 4 kB / 0.9589 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.2954, allocations: 0 / 0.9589 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.2955, allocations: 91.25 kB / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2955, allocations: 0 / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002157/0.2957, allocations: 23.98 kB / 0.959 GB, free: 15.59 MB / 0.7481 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.0002246/0.296, allocations: 127.2 kB / 0.9591 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.621e-05/0.296, allocations: 8 kB / 0.9591 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2961, allocations: 0 / 0.9591 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.2961, allocations: 11.98 kB / 0.9591 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.2963, allocations: 5.438 kB / 0.9591 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.2967, allocations: 138 kB / 0.9593 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.2969, allocations: 0.6768 MB / 0.9599 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.249e-05/0.297, allocations: 3.938 kB / 0.9599 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.297, allocations: 11.44 kB / 0.96 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.297, allocations: 4 kB / 0.96 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of Templates: time 0.003308/0.3003, allocations: 0.7505 MB / 0.9607 GB, free: 13.82 MB / 0.7481 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 -s cvode -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