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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001599/0.001599, allocations: 101.9 kB / 16.4 MB, free: 6.406 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.001843/0.001843, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.698/2.698, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 63.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9043/0.9059, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002601/0.9085, allocations: 1.279 MB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004782/0.9133, allocations: 3.766 MB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.9134, allocations: 3.938 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.9134, allocations: 0 / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006038/0.9141, allocations: 103.4 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.9146, allocations: 138.7 kB / 1.214 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.496e-05/0.9147, allocations: 31.8 kB / 1.214 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.9147, allocations: 0 / 1.214 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.9149, allocations: 27.91 kB / 1.214 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.915, allocations: 43.89 kB / 1.214 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.915, allocations: 0 / 1.214 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005517/0.9156, allocations: 307.6 kB / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.9156, allocations: 0 / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.9156, allocations: 11.94 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.9159, allocations: 119.6 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.9159, allocations: 3.938 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9159, allocations: 0 / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.916, allocations: 0 / 1.214 GB, free: 7.801 MB / 0.9356 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.0004418/0.9164, allocations: 355.7 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.9165, allocations: 8.031 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.9165, allocations: 4.938 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.9166, allocations: 172.2 kB / 1.215 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.9167, allocations: 384 / 1.215 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.9167, allocations: 8.375 kB / 1.215 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.9168, allocations: 33.83 kB / 1.215 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.9168, allocations: 3.938 kB / 1.215 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.9168, allocations: 0 / 1.215 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.9168, allocations: 4 kB / 1.215 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.986e-05/0.9169, allocations: 11.98 kB / 1.215 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.9171, allocations: 149.7 kB / 1.215 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.332e-05/0.9171, allocations: 26.56 kB / 1.215 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.9172, allocations: 8.922 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/0.9174, allocations: 93.09 kB / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.9174, allocations: 38.5 kB / 1.215 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 7.144e-06/0.9175, allocations: 0 / 1.215 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001783/0.9176, allocations: 45.75 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.9177, allocations: 55.41 kB / 1.215 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.827e-05/0.9178, allocations: 105.8 kB / 1.215 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.9178, allocations: 25.7 kB / 1.215 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.9179, allocations: 84.14 kB / 1.215 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.9179, allocations: 3.906 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.918, allocations: 13.72 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.9181, allocations: 310.8 kB / 1.216 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.9181, allocations: 15.94 kB / 1.216 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.434e-05/0.9181, allocations: 7.984 kB / 1.216 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.9182, allocations: 12.8 kB / 1.216 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9182, allocations: 3.938 kB / 1.216 GB, free: 6 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.145e-05/0.9183, allocations: 41.64 kB / 1.216 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.9183, allocations: 8 kB / 1.216 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.9183, allocations: 0 / 1.216 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.9183, allocations: 0 / 1.216 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.545e-05/0.9184, allocations: 4 kB / 1.216 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.9184, allocations: 4.094 kB / 1.216 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.9184, allocations: 3.984 kB / 1.216 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.9184, allocations: 0 / 1.216 GB, free: 5.934 MB / 0.9356 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.885e-05/0.9185, allocations: 109.8 kB / 1.216 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.9185, allocations: 3.938 kB / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.9187, allocations: 64.64 kB / 1.216 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.9187, allocations: 0 / 1.216 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.9187, allocations: 32 / 1.216 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.9187, allocations: 4 kB / 1.216 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.9188, allocations: 149.7 kB / 1.216 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9188, allocations: 0 / 1.216 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.9189, allocations: 7.938 kB / 1.216 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.9189, allocations: 0 / 1.216 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.9189, allocations: 256 / 1.216 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.9189, allocations: 0 / 1.216 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.9189, allocations: 4 kB / 1.216 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.857e-05/0.919, allocations: 73.06 kB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.9191, allocations: 85.05 kB / 1.216 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.9191, allocations: 4 kB / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.508e-05/0.9191, allocations: 0 / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.9191, allocations: 0 / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.9191, allocations: 3.984 kB / 1.216 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.466e-05/0.9192, allocations: 79.28 kB / 1.216 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9192, allocations: 0 / 1.216 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002499/0.9194, allocations: 27.94 kB / 1.216 GB, free: 5.23 MB / 0.9356 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.0002222/0.9197, allocations: 143.2 kB / 1.216 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.467e-05/0.9198, allocations: 8 kB / 1.216 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.9198, allocations: 0 / 1.216 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.009e-05/0.9198, allocations: 15.81 kB / 1.216 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.9201, allocations: 6.344 kB / 1.216 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.9204, allocations: 165.5 kB / 1.217 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.9206, allocations: 0.6729 MB / 1.217 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.9207, allocations: 7.438 kB / 1.217 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.9207, allocations: 0 / 1.217 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of Templates: time 0.002336/0.923, allocations: 0.7273 MB / 1.218 GB, free: 3.434 MB / 0.9356 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