Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0067/0.0067, allocations: 101.5 kB / 15.73 MB, free: 5.965 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.00164/0.00164, allocations: 192.9 kB / 16.67 MB, free: 5.887 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.559/2.559, allocations: 469.8 MB / 0.7425 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 71.88 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6944/0.6957, allocations: 159.1 MB / 1.221 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002392/0.6981, allocations: 1.471 MB / 1.222 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.6993, allocations: 0.9049 MB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.6994, allocations: 4 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.6996, allocations: 39.75 kB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.777e-05/0.6996, allocations: 19.84 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.7001, allocations: 190.8 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.7002, allocations: 59.64 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.7002, allocations: 0 / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.405e-05/0.7003, allocations: 19.88 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.847e-05/0.7003, allocations: 15.92 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.7003, allocations: 4 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.7007, allocations: 171.7 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.7007, allocations: 4 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.7007, allocations: 19.86 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.7009, allocations: 124.1 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7009, allocations: 0 / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7009, allocations: 3.938 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.7009, allocations: 0 / 1.224 GB, free: 15.08 MB / 0.9512 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.0003465/0.7012, allocations: 375 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.7013, allocations: 8.031 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.7013, allocations: 88.17 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.7015, allocations: 267.5 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.7016, allocations: 150.9 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.413e-05/0.7017, allocations: 158.9 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.008e-05/0.7017, allocations: 105.3 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.7017, allocations: 83.28 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.7018, allocations: 150.6 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/0.7018, allocations: 150.6 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.449e-05/0.7019, allocations: 158.5 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.7022, allocations: 465.9 kB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.484e-05/0.7023, allocations: 169.1 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.7023, allocations: 84.14 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.7023, allocations: 75.28 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.7024, allocations: 117.7 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.7024, allocations: 0 / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.4e-05/0.7024, allocations: 29.7 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.7025, allocations: 130.7 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.7026, allocations: 131.7 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.7026, allocations: 25.7 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.7027, allocations: 100.1 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.7027, allocations: 0 / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.7027, allocations: 13.72 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7028, allocations: 318.8 kB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.7028, allocations: 8 kB / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.506e-05/0.7029, allocations: 8 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.349e-05/0.7029, allocations: 20.77 kB / 1.227 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7029, allocations: 0 / 1.227 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001065/0.703, allocations: 49.62 kB / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.703, allocations: 4 kB / 1.227 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.703, allocations: 4 kB / 1.227 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.703, allocations: 0 / 1.227 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.143e-06/0.703, allocations: 0 / 1.227 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.703, allocations: 64 / 1.227 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.7031, allocations: 7.953 kB / 1.227 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.7031, allocations: 4 kB / 1.227 GB, free: 11.46 MB / 0.9512 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.291e-05/0.7032, allocations: 181.1 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.731e-05/0.7032, allocations: 124.8 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.7033, allocations: 104.9 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-05/0.7033, allocations: 180.3 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.916e-05/0.7034, allocations: 184.2 kB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-05/0.7034, allocations: 184.3 kB / 1.228 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.7037, allocations: 417.2 kB / 1.228 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/0.7037, allocations: 101 kB / 1.228 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-05/0.7037, allocations: 108.9 kB / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-05/0.7038, allocations: 184.3 kB / 1.229 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/0.7038, allocations: 184.2 kB / 1.229 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.777e-05/0.7039, allocations: 184.2 kB / 1.229 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-05/0.704, allocations: 176.3 kB / 1.229 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.7041, allocations: 311.8 kB / 1.229 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.7041, allocations: 190 kB / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/0.7042, allocations: 184.2 kB / 1.23 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.7043, allocations: 105 kB / 1.23 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.7044, allocations: 180.2 kB / 1.23 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.7044, allocations: 105 kB / 1.23 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.638e-05/0.7045, allocations: 113.4 kB / 1.23 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.7045, allocations: 0 / 1.23 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002853/0.7048, allocations: 31.88 kB / 1.23 GB, free: 7.773 MB / 0.9512 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.0002843/0.705, allocations: 226.3 kB / 1.23 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.444e-05/0.7051, allocations: 37.7 kB / 1.231 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7051, allocations: 0 / 1.231 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.7051, allocations: 7.875 kB / 1.231 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.7056, allocations: 471.7 kB / 1.231 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.7059, allocations: 234.8 kB / 1.231 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.7062, allocations: 0.6807 MB / 1.232 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.882e-05/0.7062, allocations: 7.984 kB / 1.232 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.7062, allocations: 11.44 kB / 1.232 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.7062, allocations: 3.938 kB / 1.232 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of Templates: time 0.003682/0.7099, allocations: 1.512 MB / 1.233 GB, free: 4.551 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches