Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_9_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.006543/0.006543, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001452/0.001452, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8323/0.8337, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002262/0.836, allocations: 1.294 MB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00395/0.84, allocations: 3.759 MB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.84, allocations: 0.7812 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.06e-05/0.8401, allocations: 4.734 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005448/0.8407, allocations: 100.2 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.8411, allocations: 128.2 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.222e-05/0.8412, allocations: 31.89 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.8412, allocations: 2.703 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.8413, allocations: 27.47 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.8414, allocations: 41.36 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.8414, allocations: 0.875 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005301/0.842, allocations: 302.6 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.842, allocations: 9.609 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.842, allocations: 7.344 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.8423, allocations: 120.3 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.8423, allocations: 0 / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8423, allocations: 1.031 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.8423, allocations: 0 / 1.093 GB, free: 1.395 MB / 0.8575 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.0003235/0.8426, allocations: 356.2 kB / 1.093 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.8427, allocations: 10.66 kB / 1.093 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.52e-05/0.8427, allocations: 30.75 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.8427, allocations: 6.156 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.343e-05/0.8428, allocations: 167.7 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.8428, allocations: 9.438 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.8428, allocations: 9.188 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.758e-05/0.8429, allocations: 34.89 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.8429, allocations: 0 / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.843, allocations: 0.625 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.843, allocations: 0.8438 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.166e-05/0.843, allocations: 4.906 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002722/0.8433, allocations: 160.3 kB / 1.094 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.578e-05/0.8433, allocations: 26.11 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.8434, allocations: 11.92 kB / 1.094 GB, free: 500 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/0.8436, allocations: 100.7 kB / 1.094 GB, free: 400 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.8436, allocations: 32.28 kB / 1.094 GB, free: 360 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.8436, allocations: 4 kB / 1.094 GB, free: 356 kB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001379/0.8438, allocations: 42.88 kB / 1.094 GB, free: 320 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.8438, allocations: 52.12 kB / 1.094 GB, free: 256 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.744e-05/0.8439, allocations: 102.6 kB / 1.094 GB, free: 152 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.8439, allocations: 25.7 kB / 1.094 GB, free: 120 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.843e-05/0.8439, allocations: 81.41 kB / 1.094 GB, free: 36 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.8439, allocations: 10.14 kB / 1.094 GB, free: 28 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.844, allocations: 16.75 kB / 1.094 GB, free: 8 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.8441, allocations: 317.6 kB / 1.095 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.8441, allocations: 6.125 kB / 1.095 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/0.8442, allocations: 2.781 kB / 1.095 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/0.8442, allocations: 15.17 kB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8442, allocations: 0.8125 kB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.072e-05/0.8443, allocations: 41.17 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.8443, allocations: 4.625 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.8443, allocations: 5.531 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.8443, allocations: 256 / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.8444, allocations: 4.25 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.8444, allocations: 7.984 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.8444, allocations: 8.688 kB / 1.095 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.8444, allocations: 1.594 kB / 1.095 GB, free: 15.62 MB / 0.8731 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 8.599e-05/0.8445, allocations: 108.8 kB / 1.095 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.8446, allocations: 5.312 kB / 1.095 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.8447, allocations: 54.48 kB / 1.095 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.8447, allocations: 1.094 kB / 1.095 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.8447, allocations: 0.6562 kB / 1.095 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.8447, allocations: 4.75 kB / 1.095 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.8448, allocations: 157.3 kB / 1.095 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.8448, allocations: 3.938 kB / 1.095 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.8449, allocations: 4.094 kB / 1.095 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.8449, allocations: 0.75 kB / 1.095 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.8449, allocations: 1.656 kB / 1.095 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8449, allocations: 0 / 1.095 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8449, allocations: 4.906 kB / 1.095 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.763e-05/0.845, allocations: 70.39 kB / 1.095 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.845, allocations: 83.56 kB / 1.095 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.8451, allocations: 1.094 kB / 1.095 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.611e-05/0.8451, allocations: 1.531 kB / 1.095 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.8451, allocations: 1.031 kB / 1.095 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.8451, allocations: 1.641 kB / 1.095 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.849e-05/0.8452, allocations: 88.59 kB / 1.095 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8452, allocations: 0.875 kB / 1.095 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002162/0.8454, allocations: 22.48 kB / 1.095 GB, free: 14.99 MB / 0.8731 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.0004899/0.8459, allocations: 0.6318 MB / 1.096 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.588e-05/0.846, allocations: 15.98 kB / 1.096 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.846, allocations: 0.7188 kB / 1.096 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/0.8461, allocations: 5.156 kB / 1.096 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.8465, allocations: 6.188 kB / 1.096 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.847, allocations: 171.8 kB / 1.096 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.8472, allocations: 0.6768 MB / 1.097 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.8473, allocations: 5.562 kB / 1.097 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.8473, allocations: 14.52 kB / 1.097 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8473, allocations: 0 / 1.097 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/0.9549, allocations: 1.647 MB / 1.098 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.007/9.962, allocations: 9.875 kB / 1.098 GB, free: 13.14 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches