Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_11_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.001454/0.001454, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.663/2.663, allocations: 469.8 MB / 0.7424 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 68.95 kB / 0.9087 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2878, allocations: 159.1 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002335/0.2902, allocations: 1.294 MB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004192/0.2944, allocations: 3.764 MB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.2944, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.2945, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.2949, allocations: 99.42 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.2952, allocations: 142.3 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.93e-05/0.2953, allocations: 27.86 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.2953, allocations: 4 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.435e-05/0.2954, allocations: 19.92 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/0.2955, allocations: 35.91 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.2955, allocations: 4 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004369/0.296, allocations: 307.5 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.296, allocations: 3.984 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.296, allocations: 7.938 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.2962, allocations: 124 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2962, allocations: 0 / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2963, allocations: 0 / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2963, allocations: 0 / 1.07 GB, free: 8.375 MB / 0.8262 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.0004135/0.2967, allocations: 361.8 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2967, allocations: 12.03 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.2968, allocations: 30.75 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.2968, allocations: 0.9375 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.2969, allocations: 168.2 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.2969, allocations: 4.375 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-06/0.297, allocations: 4.375 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.224e-05/0.2971, allocations: 45.56 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2971, allocations: 0 / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.2971, allocations: 0 / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.2971, allocations: 0 / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.239e-05/0.2971, allocations: 4 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.2973, allocations: 157.7 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.269e-05/0.2973, allocations: 22.61 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/0.2974, allocations: 12.92 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.2976, allocations: 105 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.2976, allocations: 30.56 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2977, allocations: 7.875 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.2978, allocations: 41.83 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.2979, allocations: 59.39 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.298, allocations: 97.86 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.298, allocations: 25.7 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.2981, allocations: 84.14 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.2981, allocations: 3.906 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.2981, allocations: 21.7 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.2983, allocations: 310.8 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.2983, allocations: 4 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-06/0.2983, allocations: 4 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.2983, allocations: 16.8 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2983, allocations: 256 / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.406e-05/0.2984, allocations: 45.62 kB / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.2984, allocations: 5.406 kB / 1.071 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2984, allocations: 4 kB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2984, allocations: 0 / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.673e-05/0.2985, allocations: 4 kB / 1.071 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.2985, allocations: 4.094 kB / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.2985, allocations: 0 / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.2985, allocations: 4 kB / 1.071 GB, free: 6.461 MB / 0.8262 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.991e-05/0.2986, allocations: 109.8 kB / 1.071 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-06/0.2986, allocations: 3.938 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.2987, allocations: 56.69 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2987, allocations: 7.922 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2988, allocations: 4.031 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2988, allocations: 0 / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.2989, allocations: 157.6 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2989, allocations: 3.938 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/0.2989, allocations: 4 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2989, allocations: 3.984 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.2989, allocations: 4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.2989, allocations: 0 / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2989, allocations: 0 / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.603e-05/0.299, allocations: 65.08 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.2991, allocations: 92.97 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.2991, allocations: 0 / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.33e-05/0.2991, allocations: 0 / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.026e-05/0.2991, allocations: 0 / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.2991, allocations: 4 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.2992, allocations: 83.28 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2992, allocations: 0 / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001876/0.2994, allocations: 23.98 kB / 1.072 GB, free: 5.746 MB / 0.8262 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.0004286/0.2998, allocations: 0.6286 MB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.089e-05/0.2999, allocations: 15.94 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2999, allocations: 0 / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.688e-05/0.2999, allocations: 7.984 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.3001, allocations: 8.094 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.3005, allocations: 169.3 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.3008, allocations: 0.6768 MB / 1.073 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.576e-05/0.3008, allocations: 4 kB / 1.073 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.3008, allocations: 15.44 kB / 1.073 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3008, allocations: 0 / 1.073 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.64/1.941, allocations: 1.626 MB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/16.49, allocations: 8.312 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches