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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008329/0.008329, allocations: 103.3 kB / 15.73 MB, free: 5.996 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.001885/0.001885, allocations: 187.6 kB / 16.67 MB, free: 5.926 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.545/2.545, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 64.11 kB / 1.054 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7992/0.8012, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002377/0.8036, allocations: 1.278 MB / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004345/0.808, allocations: 3.766 MB / 1.212 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.808, allocations: 0 / 1.212 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.8081, allocations: 3.938 kB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004878/0.8086, allocations: 99.48 kB / 1.212 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.809, allocations: 135.6 kB / 1.212 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.153e-05/0.8091, allocations: 31.8 kB / 1.212 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.8091, allocations: 7.984 kB / 1.212 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.8093, allocations: 19.92 kB / 1.212 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.8094, allocations: 35.91 kB / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.8094, allocations: 0 / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.8099, allocations: 315.5 kB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.8099, allocations: 7.984 kB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.8099, allocations: 7.938 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.8101, allocations: 122 kB / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8102, allocations: 0 / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8102, allocations: 0 / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.8102, allocations: 0 / 1.213 GB, free: 7.703 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.0003936/0.8106, allocations: 351.4 kB / 1.213 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.8106, allocations: 8.031 kB / 1.213 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.8107, allocations: 38.75 kB / 1.213 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.8107, allocations: 4.938 kB / 1.213 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.8108, allocations: 172.2 kB / 1.214 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.8108, allocations: 384 / 1.214 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.8108, allocations: 4.375 kB / 1.214 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9e-05/0.8109, allocations: 41.58 kB / 1.214 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.8109, allocations: 0 / 1.214 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.811, allocations: 0 / 1.214 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.811, allocations: 0 / 1.214 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.482e-05/0.811, allocations: 8 kB / 1.214 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.8112, allocations: 161.7 kB / 1.214 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.833e-05/0.8112, allocations: 18.58 kB / 1.214 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.8112, allocations: 12.91 kB / 1.214 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.8115, allocations: 101 kB / 1.214 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.8115, allocations: 38.5 kB / 1.214 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8115, allocations: 4 kB / 1.214 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001401/0.8117, allocations: 45.62 kB / 1.214 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.8117, allocations: 51.41 kB / 1.214 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.449e-05/0.8118, allocations: 97.86 kB / 1.214 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.8118, allocations: 25.7 kB / 1.214 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.8119, allocations: 84.14 kB / 1.214 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.8119, allocations: 11.89 kB / 1.214 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.8119, allocations: 9.719 kB / 1.214 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.812, allocations: 319 kB / 1.215 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.8121, allocations: 7.938 kB / 1.215 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.8121, allocations: 7.938 kB / 1.215 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.975e-05/0.8121, allocations: 8.859 kB / 1.215 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8121, allocations: 0 / 1.215 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.795e-05/0.8122, allocations: 49.62 kB / 1.215 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.8122, allocations: 5.875 kB / 1.215 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.8122, allocations: 0 / 1.215 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.8123, allocations: 4.094 kB / 1.215 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.8123, allocations: 4 kB / 1.215 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.8123, allocations: 0 / 1.215 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.8124, allocations: 0 / 1.215 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.8124, allocations: 4 kB / 1.215 GB, free: 5.789 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 6.867e-05/0.8124, allocations: 109.8 kB / 1.215 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.8125, allocations: 11.83 kB / 1.215 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.8126, allocations: 52.81 kB / 1.215 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8126, allocations: 0 / 1.215 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.8126, allocations: 0 / 1.215 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.8126, allocations: 3.984 kB / 1.215 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.8127, allocations: 149.7 kB / 1.215 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8127, allocations: 3.938 kB / 1.215 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.8127, allocations: 7.984 kB / 1.215 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.8127, allocations: 0 / 1.215 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.8128, allocations: 4 kB / 1.215 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.8128, allocations: 256 / 1.215 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.8128, allocations: 4 kB / 1.215 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.476e-05/0.8129, allocations: 65.11 kB / 1.215 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.8129, allocations: 89.03 kB / 1.215 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.8129, allocations: 4 kB / 1.215 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.8129, allocations: 0 / 1.215 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.813, allocations: 3.938 kB / 1.215 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.813, allocations: 4 kB / 1.215 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.791e-05/0.813, allocations: 83.27 kB / 1.215 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.813, allocations: 4.031 kB / 1.215 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002232/0.8133, allocations: 23.94 kB / 1.215 GB, free: 5.078 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.0004219/0.8137, allocations: 0.6396 MB / 1.216 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.654e-05/0.8138, allocations: 8 kB / 1.216 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8138, allocations: 4.094 kB / 1.216 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/0.8138, allocations: 7.984 kB / 1.216 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.814, allocations: 4 kB / 1.216 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.8144, allocations: 169.4 kB / 1.216 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.8147, allocations: 0.6768 MB / 1.217 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.766e-05/0.8147, allocations: 4.062 kB / 1.217 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.8147, allocations: 11.44 kB / 1.217 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.8148, allocations: 0 / 1.217 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.8325, allocations: 1.67 MB / 1.218 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/8.305, allocations: 5.125 kB / 1.218 GB, free: 1.945 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > 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