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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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.005653/0.005653, allocations: 99.16 kB / 15.73 MB, free: 6.012 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.001475/0.001475, allocations: 197 kB / 16.68 MB, free: 5.93 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.606/2.606, allocations: 482.6 MB / 0.7551 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 64.2 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3133, allocations: 162.3 MB / 1.242 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.00227/0.3156, allocations: 1.282 MB / 1.243 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004405/0.32, allocations: 3.756 MB / 1.247 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.32, allocations: 0 / 1.247 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.3201, allocations: 11.94 kB / 1.247 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004309/0.3205, allocations: 103.5 kB / 1.247 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.321, allocations: 129 kB / 1.247 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.427e-05/0.3211, allocations: 31.86 kB / 1.247 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.281e-05/0.3211, allocations: 4 kB / 1.247 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.24e-05/0.3212, allocations: 27.86 kB / 1.247 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.3213, allocations: 43.83 kB / 1.247 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.3213, allocations: 0 / 1.247 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.3218, allocations: 299.6 kB / 1.247 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.3218, allocations: 7.984 kB / 1.247 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.3219, allocations: 7.938 kB / 1.247 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.3221, allocations: 115.9 kB / 1.248 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.3221, allocations: 0 / 1.248 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3221, allocations: 0 / 1.248 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3221, allocations: 0 / 1.248 GB, free: 3.039 MB / 0.9669 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.0003953/0.3225, allocations: 367 kB / 1.248 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3226, allocations: 12.03 kB / 1.248 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.3226, allocations: 34.73 kB / 1.248 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.235e-05/0.3226, allocations: 8.891 kB / 1.248 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.3228, allocations: 172.4 kB / 1.248 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-06/0.3228, allocations: 384 / 1.248 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.3228, allocations: 384 / 1.248 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.278e-05/0.3229, allocations: 37.58 kB / 1.248 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.3229, allocations: 4 kB / 1.248 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.3229, allocations: 3.984 kB / 1.248 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3229, allocations: 0 / 1.248 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.098e-05/0.323, allocations: 4 kB / 1.248 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.3231, allocations: 157.6 kB / 1.248 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.264e-05/0.3232, allocations: 26.61 kB / 1.248 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.3232, allocations: 8.797 kB / 1.248 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/0.3235, allocations: 105.1 kB / 1.248 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3235, allocations: 34.55 kB / 1.248 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.093e-06/0.3235, allocations: 0 / 1.248 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001358/0.3237, allocations: 41.7 kB / 1.249 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.3237, allocations: 51.41 kB / 1.249 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.3238, allocations: 101.8 kB / 1.249 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.3238, allocations: 33.83 kB / 1.249 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.3239, allocations: 80.14 kB / 1.249 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.3239, allocations: 7.953 kB / 1.249 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.3239, allocations: 13.72 kB / 1.249 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3241, allocations: 310.8 kB / 1.249 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.3241, allocations: 11.92 kB / 1.249 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-06/0.3241, allocations: 0 / 1.249 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.595e-05/0.3241, allocations: 20.92 kB / 1.249 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3241, allocations: 0 / 1.249 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.456e-05/0.3242, allocations: 45.59 kB / 1.249 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.3242, allocations: 5.875 kB / 1.249 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.3242, allocations: 0 / 1.249 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3242, allocations: 4 kB / 1.249 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.496e-05/0.3243, allocations: 7.922 kB / 1.249 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3243, allocations: 0 / 1.249 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.438e-05/0.3243, allocations: 4 kB / 1.249 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.3243, allocations: 0 / 1.249 GB, free: 1.109 MB / 0.9669 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.288e-05/0.3244, allocations: 114.3 kB / 1.249 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.3244, allocations: 7.938 kB / 1.249 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.3245, allocations: 44.81 kB / 1.249 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3246, allocations: 3.984 kB / 1.249 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3246, allocations: 0 / 1.249 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3246, allocations: 4 kB / 1.249 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.3247, allocations: 153.9 kB / 1.249 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3247, allocations: 3.938 kB / 1.249 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.366e-05/0.3247, allocations: 8.031 kB / 1.249 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3247, allocations: 4 kB / 1.25 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.3248, allocations: 0 / 1.25 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3248, allocations: 3.938 kB / 1.25 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3248, allocations: 0 / 1.25 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.674e-05/0.3249, allocations: 73.02 kB / 1.25 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.3249, allocations: 81.05 kB / 1.25 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.325, allocations: 0 / 1.25 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.32e-05/0.325, allocations: 4.031 kB / 1.25 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.325, allocations: 7.984 kB / 1.25 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.325, allocations: 4 kB / 1.25 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.3251, allocations: 79.28 kB / 1.25 GB, free: 432 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3251, allocations: 0 / 1.25 GB, free: 432 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001972/0.3253, allocations: 23.88 kB / 1.25 GB, free: 408 kB / 0.9669 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.0004795/0.3258, allocations: 0.6435 MB / 1.25 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7e-05/0.3258, allocations: 8 kB / 1.25 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3258, allocations: 0 / 1.25 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.3259, allocations: 4 kB / 1.25 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.3261, allocations: 8 kB / 1.25 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.3264, allocations: 173.4 kB / 1.251 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3267, allocations: 0.6806 MB / 1.251 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.307e-05/0.3268, allocations: 4 kB / 1.251 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.3268, allocations: 10.44 kB / 1.251 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3268, allocations: 0 / 1.251 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2184/0.5452, allocations: 1.658 MB / 1.253 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.441/9.986, allocations: 10.47 kB / 1.253 GB, free: 13.27 MB / 0.9825 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=400 --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