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.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.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.001167/0.001168, allocations: 109.4 kB / 16.42 MB, free: 5.953 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.00114/0.00114, allocations: 188.3 kB / 17.35 MB, free: 5.582 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.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.543/2.543, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.91 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6901/0.6914, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002403/0.6939, allocations: 1.471 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.6951, allocations: 0.9073 MB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.483e-05/0.6952, allocations: 7.938 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.6954, allocations: 31.83 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.78e-05/0.6955, allocations: 27.78 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.696, allocations: 190.4 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.432e-05/0.6961, allocations: 51.67 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.429e-05/0.6962, allocations: 7.984 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.507e-05/0.6962, allocations: 11.94 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.072e-05/0.6963, allocations: 15.92 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.6963, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.6967, allocations: 179.7 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.6967, allocations: 3.938 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.6967, allocations: 19.88 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.6969, allocations: 123.5 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6969, allocations: 3.938 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6969, allocations: 4 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.697, allocations: 0 / 1.211 GB, free: 10.58 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.0003348/0.6973, allocations: 369 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.6973, allocations: 8.031 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.6974, allocations: 84.2 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.6976, allocations: 263.5 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.6977, allocations: 150.9 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.6977, allocations: 154.9 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.421e-05/0.6978, allocations: 109.2 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.6978, allocations: 75.28 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.6979, allocations: 150.6 kB / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-05/0.6979, allocations: 154.6 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.399e-05/0.698, allocations: 158.5 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.6982, allocations: 461.9 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.919e-05/0.6983, allocations: 173.1 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.6983, allocations: 84.14 kB / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.6984, allocations: 79.27 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.6984, allocations: 113.8 kB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.6984, allocations: 0 / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.421e-05/0.6985, allocations: 29.7 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.6985, allocations: 51.41 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.6987, allocations: 137.7 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.6987, allocations: 25.7 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.6987, allocations: 88.12 kB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.6987, allocations: 7.938 kB / 1.214 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.6988, allocations: 17.72 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.6989, allocations: 318.8 kB / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.6989, allocations: 7.938 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.398e-05/0.6989, allocations: 3.984 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.248e-05/0.699, allocations: 12.86 kB / 1.214 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.699, allocations: 4 kB / 1.214 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001077/0.6991, allocations: 45.61 kB / 1.214 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.6991, allocations: 14.33 kB / 1.214 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.6991, allocations: 4 kB / 1.214 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.6991, allocations: 3.938 kB / 1.214 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.6991, allocations: 4 kB / 1.214 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.6992, allocations: 3.938 kB / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.6992, allocations: 0 / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.6992, allocations: 0 / 1.214 GB, free: 7.055 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.401e-05/0.6993, allocations: 186.9 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.6993, allocations: 112.9 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.6994, allocations: 120.8 kB / 1.215 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-05/0.6995, allocations: 180.2 kB / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.79e-05/0.6995, allocations: 101 kB / 1.215 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.6996, allocations: 186 kB / 1.215 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/0.6996, allocations: 184.3 kB / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.6997, allocations: 105 kB / 1.216 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.6998, allocations: 188.2 kB / 1.216 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.249e-05/0.6999, allocations: 251.5 kB / 1.216 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001388/0.7, allocations: 390.9 kB / 1.216 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.772e-05/0.7, allocations: 112.9 kB / 1.216 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.333e-05/0.7001, allocations: 95.27 kB / 1.217 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of Backend: time 5.51e-07/0.7001, allocations: 0 / 1.217 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004959/0.7006, allocations: 152 kB / 1.217 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005467/0.7012, allocations: 0.9274 MB / 1.218 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of Templates: time 0.003687/0.7049, allocations: 1.523 MB / 1.219 GB, free: 2.145 MB / 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/jenkins1/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