Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006463/0.006463, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.001664/0.001664, allocations: 191.7 kB / 16.67 MB, free: 5.957 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.517/2.517, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 75.88 kB / 1.054 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7078/0.709, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002299/0.7114, allocations: 1.485 MB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.7126, allocations: 0.8957 MB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.7126, allocations: 4 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.7128, allocations: 39.75 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.206e-05/0.7129, allocations: 23.84 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.7134, allocations: 189.1 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.026e-05/0.7135, allocations: 51.66 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.7135, allocations: 7.984 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.239e-05/0.7136, allocations: 23.88 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.763e-05/0.7137, allocations: 11.92 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.7137, allocations: 4 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.714, allocations: 167.8 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.714, allocations: 11.94 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.7141, allocations: 15.86 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.7143, allocations: 127.5 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7143, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7143, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.7143, allocations: 0 / 1.211 GB, free: 10.56 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003377/0.7146, allocations: 373 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.7147, allocations: 8.031 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.7147, allocations: 84.22 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.7149, allocations: 263.5 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.551e-05/0.715, allocations: 154.9 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.7151, allocations: 158.9 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.196e-05/0.7151, allocations: 105.3 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.7151, allocations: 79.28 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.7152, allocations: 158.5 kB / 1.212 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-05/0.7152, allocations: 150.6 kB / 1.212 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.406e-05/0.7153, allocations: 154.5 kB / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.7156, allocations: 465.9 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.427e-05/0.7156, allocations: 173.1 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.7157, allocations: 84.14 kB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.7157, allocations: 75.28 kB / 1.213 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.7157, allocations: 113.8 kB / 1.213 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.7157, allocations: 0 / 1.213 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.969e-05/0.7158, allocations: 33.64 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.7159, allocations: 134.7 kB / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.716, allocations: 132.2 kB / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.716, allocations: 25.7 kB / 1.214 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.7161, allocations: 96.12 kB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.7161, allocations: 0 / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.7161, allocations: 13.72 kB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.7162, allocations: 318.8 kB / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.7162, allocations: 4 kB / 1.214 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.427e-05/0.7162, allocations: 12 kB / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.071e-05/0.7163, allocations: 8.859 kB / 1.214 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7163, allocations: 0 / 1.214 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001145/0.7164, allocations: 61.41 kB / 1.214 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.7164, allocations: 4 kB / 1.214 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.7164, allocations: 4 kB / 1.214 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.7165, allocations: 0 / 1.214 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.7165, allocations: 0 / 1.214 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.7165, allocations: 0 / 1.214 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.7165, allocations: 0 / 1.214 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.7165, allocations: 8.062 kB / 1.214 GB, free: 6.945 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.072e-05/0.7166, allocations: 185.1 kB / 1.214 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.7167, allocations: 116.8 kB / 1.214 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.7167, allocations: 108.8 kB / 1.214 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-05/0.7168, allocations: 180.3 kB / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-05/0.7168, allocations: 184.2 kB / 1.215 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-05/0.7169, allocations: 188.3 kB / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.7171, allocations: 409.2 kB / 1.215 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.652e-05/0.7171, allocations: 104.9 kB / 1.215 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.095e-05/0.7172, allocations: 104.9 kB / 1.216 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.183e-05/0.7172, allocations: 188.2 kB / 1.216 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.7173, allocations: 184.2 kB / 1.216 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.772e-05/0.7174, allocations: 176.3 kB / 1.216 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.066e-05/0.7174, allocations: 184.2 kB / 1.216 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.7175, allocations: 307.8 kB / 1.217 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/0.7176, allocations: 193.9 kB / 1.217 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.169e-05/0.7177, allocations: 184.2 kB / 1.217 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.7178, allocations: 104.9 kB / 1.217 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.7179, allocations: 176.3 kB / 1.217 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.7179, allocations: 108.9 kB / 1.217 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.795e-05/0.718, allocations: 104.8 kB / 1.217 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.718, allocations: 0 / 1.217 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002683/0.7182, allocations: 35.94 kB / 1.217 GB, free: 3.266 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 (0): * Single equations (assignments): 0 * 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.0002634/0.7185, allocations: 214.5 kB / 1.218 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.819e-05/0.7186, allocations: 37.7 kB / 1.218 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7186, allocations: 0 / 1.218 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.7186, allocations: 0 / 1.218 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.719, allocations: 475.6 kB / 1.218 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.7194, allocations: 246.7 kB / 1.218 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.7196, allocations: 0.6807 MB / 1.219 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.247e-05/0.7196, allocations: 8.016 kB / 1.219 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.234e-05/0.7196, allocations: 15.44 kB / 1.219 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.7196, allocations: 0 / 1.219 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of Templates: time 0.003532/0.7232, allocations: 1.508 MB / 1.22 GB, free: 72 kB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches