Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_9_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_9_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.00172/0.00172, allocations: 110.7 kB / 16.42 MB, free: 6.5 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.001966/0.001966, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.256/2.256, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 59.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7096/0.711, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002297/0.7133, allocations: 1.475 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.7145, allocations: 0.9011 MB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/0.7145, allocations: 6.156 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.7147, allocations: 42.92 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.723e-05/0.7148, allocations: 17 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.7153, allocations: 194.4 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.836e-05/0.7154, allocations: 55.59 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.341e-05/0.7154, allocations: 3.828 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.7155, allocations: 19.78 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.92e-05/0.7155, allocations: 21.11 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.7156, allocations: 1.188 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.7159, allocations: 164.1 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.716, allocations: 5.844 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.716, allocations: 19.89 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.7162, allocations: 123.3 kB / 1.092 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7162, allocations: 0 / 1.092 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7162, allocations: 1.125 kB / 1.092 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.7162, allocations: 0 / 1.092 GB, free: 3.605 MB / 0.8575 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.0002851/0.7165, allocations: 367 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.7166, allocations: 8.375 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.7166, allocations: 84.17 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.7168, allocations: 262 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.7168, allocations: 159.8 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.7169, allocations: 152.4 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.638e-05/0.7169, allocations: 109.2 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.7169, allocations: 76.41 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.7169, allocations: 151.4 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.717, allocations: 159.6 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.028e-05/0.717, allocations: 154.6 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.7172, allocations: 472.9 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.554e-05/0.7172, allocations: 165.9 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.887e-05/0.7172, allocations: 89.88 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.7172, allocations: 75.28 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.7173, allocations: 115.1 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.7173, allocations: 0 / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.534e-05/0.7173, allocations: 37.09 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.589e-05/0.7174, allocations: 52.09 kB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.7175, allocations: 142.2 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.7175, allocations: 30.58 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.7175, allocations: 92.73 kB / 1.094 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.7176, allocations: 0 / 1.094 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.7176, allocations: 15.52 kB / 1.094 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.332e-05/0.7176, allocations: 319.2 kB / 1.095 GB, free: 296 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.923e-05/0.7177, allocations: 2.344 kB / 1.095 GB, free: 296 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.7177, allocations: 3.703 kB / 1.095 GB, free: 296 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.155e-05/0.7177, allocations: 14.16 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7177, allocations: 4.031 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001362/0.7179, allocations: 48.88 kB / 1.095 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.7179, allocations: 9.031 kB / 1.095 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.7179, allocations: 6.875 kB / 1.095 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.7179, allocations: 0 / 1.095 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.7179, allocations: 0.75 kB / 1.095 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.7179, allocations: 1.5 kB / 1.095 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.718, allocations: 4.594 kB / 1.095 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.718, allocations: 0.7812 kB / 1.095 GB, free: 16.22 MB / 0.8731 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 9.037e-05/0.7181, allocations: 188.4 kB / 1.095 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.7181, allocations: 111.9 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.7182, allocations: 113.3 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.757e-05/0.7183, allocations: 178.6 kB / 1.095 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-05/0.7183, allocations: 105.7 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.7184, allocations: 185.3 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/0.7184, allocations: 186.9 kB / 1.096 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.7185, allocations: 110.8 kB / 1.096 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.7186, allocations: 181.9 kB / 1.096 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.362e-05/0.7187, allocations: 257.2 kB / 1.096 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001318/0.7188, allocations: 390.3 kB / 1.097 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.858e-05/0.7188, allocations: 110.7 kB / 1.097 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.029e-05/0.7189, allocations: 99.56 kB / 1.097 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of Backend: time 2.31e-07/0.7189, allocations: 0 / 1.097 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005006/0.7194, allocations: 159.8 kB / 1.097 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0005683/0.72, allocations: 0.904 MB / 1.098 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.004177/0.7242, allocations: 1.515 MB / 1.099 GB, free: 12.86 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches