Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_10_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.005929/0.005929, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00161/0.00161, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437.1 MB / 0.7106 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 72.06 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2886, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002223/0.2909, allocations: 1.275 MB / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004176/0.2951, allocations: 3.763 MB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.2951, allocations: 0 / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.2951, allocations: 4 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.2955, allocations: 103.4 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.2958, allocations: 139.4 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.408e-05/0.2959, allocations: 27.86 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 2.818e-05/0.296, allocations: 4 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.908e-05/0.296, allocations: 27.86 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.086e-05/0.2961, allocations: 39.89 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.236e-06/0.2962, allocations: 0 / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004493/0.2966, allocations: 307.6 kB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.2966, allocations: 3.984 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.2967, allocations: 11.94 kB / 1.172 GB, free: 1.566 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.2969, allocations: 115.9 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2969, allocations: 0 / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2969, allocations: 0 / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.2969, allocations: 0 / 1.172 GB, free: 1.453 MB / 0.92 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.0004044/0.2973, allocations: 359.1 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2973, allocations: 12.03 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.2974, allocations: 30.75 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.15e-05/0.2974, allocations: 12.88 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2975, allocations: 176.4 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.2975, allocations: 384 / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-06/0.2976, allocations: 384 / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.108e-05/0.2976, allocations: 37.58 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2977, allocations: 0 / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.2977, allocations: 0 / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2977, allocations: 0 / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.2977, allocations: 7.984 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.2979, allocations: 153.7 kB / 1.173 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.152e-05/0.2979, allocations: 30.59 kB / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.298, allocations: 4.859 kB / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.2982, allocations: 101.1 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2982, allocations: 38.5 kB / 1.173 GB, free: 328 kB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2982, allocations: 0 / 1.173 GB, free: 328 kB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.2984, allocations: 49.64 kB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.2984, allocations: 51.41 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.645e-05/0.2985, allocations: 105.8 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.2985, allocations: 33.64 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.2986, allocations: 80.14 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.2986, allocations: 3.953 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.2986, allocations: 17.84 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2988, allocations: 314.8 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.2988, allocations: 4 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.242e-05/0.2988, allocations: 3.984 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.715e-05/0.2989, allocations: 20.8 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2989, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.257e-05/0.2989, allocations: 41.64 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2989, allocations: 4 kB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.299, allocations: 4.094 kB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.299, allocations: 7.938 kB / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.512e-05/0.299, allocations: 0 / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.299, allocations: 3.984 kB / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.453e-05/0.2991, allocations: 4 kB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.2991, allocations: 0 / 1.174 GB, free: 15.52 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 7.084e-05/0.2991, allocations: 105.8 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.2992, allocations: 7.938 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.2993, allocations: 52.75 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2993, allocations: 0 / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2993, allocations: 0 / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2993, allocations: 4 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.2994, allocations: 153.7 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2994, allocations: 3.938 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.2994, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.2995, allocations: 4 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.2995, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2995, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2995, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.641e-05/0.2996, allocations: 77.05 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.2996, allocations: 81.05 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.2996, allocations: 0 / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.371e-05/0.2997, allocations: 0 / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.2997, allocations: 8.234 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.2997, allocations: 0 / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.606e-05/0.2997, allocations: 87.31 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2997, allocations: 7.938 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000198/0.2999, allocations: 23.88 kB / 1.174 GB, free: 14.81 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.0005199/0.3005, allocations: 0.6396 MB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.525e-05/0.3006, allocations: 12.03 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3006, allocations: 0 / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.3006, allocations: 4 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.3008, allocations: 4 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.3012, allocations: 174.6 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3015, allocations: 0.6729 MB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.173e-05/0.3015, allocations: 16.02 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.3015, allocations: 11.44 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3015, allocations: 0 / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.339/2.641, allocations: 1.65 MB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.72/18.36, allocations: 15.52 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches