Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001117/0.001117, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 180.9 kB / 16.92 MB, free: 6.918 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.494/1.494, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.812/2.812, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003531, allocations: 10.72 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3361, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001574/0.3377, allocations: 1.018 MB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004985/0.3427, allocations: 3.728 MB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.3428, allocations: 0 / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.3428, allocations: 3.938 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.3434, allocations: 95.55 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.3438, allocations: 98.58 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.665e-05/0.3438, allocations: 23.92 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.3439, allocations: 0 / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.344, allocations: 31.77 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.3442, allocations: 39.91 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.3442, allocations: 0 / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005484/0.3447, allocations: 303.6 kB / 1.065 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.3448, allocations: 4 kB / 1.065 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.3448, allocations: 33.64 kB / 1.065 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.345, allocations: 84.11 kB / 1.065 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.345, allocations: 0 / 1.065 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.833e-06/0.345, allocations: 0 / 1.065 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3451, allocations: 0 / 1.065 GB, free: 15.48 MB / 0.8262 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.0004338/0.3455, allocations: 347.5 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3455, allocations: 11.97 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.3456, allocations: 8.844 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3457, allocations: 168.3 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3458, allocations: 4.312 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.3458, allocations: 8.375 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.3459, allocations: 33.81 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3459, allocations: 4 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3459, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3459, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.346, allocations: 4 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.3462, allocations: 161.6 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.217e-05/0.3462, allocations: 26.52 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.364e-05/0.3463, allocations: 8.922 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/0.3465, allocations: 93.09 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.3466, allocations: 38.48 kB / 1.066 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3466, allocations: 4 kB / 1.066 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000167/0.3467, allocations: 41.7 kB / 1.066 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.3468, allocations: 55.34 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.3469, allocations: 105.8 kB / 1.066 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.3469, allocations: 25.7 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.347, allocations: 84.12 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.347, allocations: 3.906 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.347, allocations: 13.72 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.3471, allocations: 319 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.3471, allocations: 0 / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.3472, allocations: 7.984 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.186e-05/0.3472, allocations: 12.86 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3472, allocations: 0 / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.276e-05/0.3473, allocations: 45.55 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3473, allocations: 4 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3473, allocations: 3.938 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3473, allocations: 96 / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.3474, allocations: 11.98 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3474, allocations: 0 / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.3474, allocations: 0 / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.3475, allocations: 4.25 kB / 1.066 GB, free: 13.61 MB / 0.8262 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 7.42e-05/0.3475, allocations: 109.8 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.3476, allocations: 3.938 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.3477, allocations: 52.75 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3477, allocations: 4.031 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3477, allocations: 4 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.3477, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.3478, allocations: 153.7 kB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3478, allocations: 0 / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.3479, allocations: 11.88 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3479, allocations: 0 / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.3479, allocations: 4 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3479, allocations: 3.938 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3479, allocations: 0 / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.794e-05/0.348, allocations: 65.12 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.3481, allocations: 88.95 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.3481, allocations: 3.984 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.3481, allocations: 0 / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.3481, allocations: 3.984 kB / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.3481, allocations: 4 kB / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.3482, allocations: 83.28 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3482, allocations: 0 / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002129/0.3484, allocations: 27.97 kB / 1.067 GB, free: 12.9 MB / 0.8262 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.0002005/0.3486, allocations: 128.8 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.828e-05/0.3487, allocations: 11.94 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3487, allocations: 0 / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.736e-05/0.3487, allocations: 8 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.3489, allocations: 3.938 kB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.3493, allocations: 178.2 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.3495, allocations: 0.677 MB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.3495, allocations: 7.438 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3495, allocations: 0 / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.002364/0.3519, allocations: 0.7157 MB / 1.069 GB, free: 11.11 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches