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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001186/0.001186, allocations: 191.8 kB / 16.14 MB, free: 6.734 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.236/1.236, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.136/2.136, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4973, allocations: 140.3 MB / 0.9491 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001972/0.4993, allocations: 1.352 MB / 0.9504 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003093/0.5024, allocations: 3.764 MB / 0.954 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.5025, allocations: 0 / 0.954 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.5025, allocations: 3.938 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.5028, allocations: 93.14 kB / 0.9541 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.5031, allocations: 97.42 kB / 0.9542 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.15e-05/0.5031, allocations: 28.19 kB / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.78e-05/0.5032, allocations: 1.031 kB / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.5033, allocations: 27.33 kB / 0.9543 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.5033, allocations: 35.64 kB / 0.9543 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.644e-06/0.5034, allocations: 5.25 kB / 0.9543 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003667/0.5037, allocations: 299.7 kB / 0.9546 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.217e-06/0.5037, allocations: 9.156 kB / 0.9546 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.5038, allocations: 11.89 kB / 0.9546 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.504, allocations: 120.8 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.504, allocations: 0 / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.01e-07/0.504, allocations: 0 / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.504, allocations: 1.469 kB / 0.9547 GB, free: 4.688 MB / 0.7169 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.0002442/0.5042, allocations: 354.2 kB / 0.9551 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.5043, allocations: 8.875 kB / 0.9551 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.058e-05/0.5043, allocations: 39.75 kB / 0.9551 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.879e-05/0.5043, allocations: 6.031 kB / 0.9551 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.178e-05/0.5044, allocations: 165.4 kB / 0.9553 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-06/0.5044, allocations: 1.5 kB / 0.9553 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.141e-06/0.5044, allocations: 1.5 kB / 0.9553 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.379e-05/0.5045, allocations: 37.97 kB / 0.9553 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-06/0.5045, allocations: 0 / 0.9553 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.5045, allocations: 3.984 kB / 0.9553 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.5045, allocations: 0 / 0.9553 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.861e-05/0.5045, allocations: 4.438 kB / 0.9553 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.952e-05/0.5046, allocations: 158.4 kB / 0.9555 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.802e-05/0.5047, allocations: 27.95 kB / 0.9555 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.5047, allocations: 11.17 kB / 0.9555 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.5049, allocations: 103.7 kB / 0.9556 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.268e-05/0.5049, allocations: 30.56 kB / 0.9557 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.5049, allocations: 5.219 kB / 0.9557 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001082/0.505, allocations: 44.39 kB / 0.9557 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.649e-05/0.505, allocations: 55.34 kB / 0.9558 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.146e-05/0.5051, allocations: 103.6 kB / 0.9559 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-06/0.5051, allocations: 27.2 kB / 0.9559 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.201e-05/0.5051, allocations: 80.14 kB / 0.956 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.5051, allocations: 13.47 kB / 0.956 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.5052, allocations: 12.12 kB / 0.956 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.144e-05/0.5052, allocations: 320.6 kB / 0.9563 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.5052, allocations: 1.188 kB / 0.9563 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.004e-05/0.5052, allocations: 6.438 kB / 0.9563 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.596e-05/0.5053, allocations: 11.02 kB / 0.9563 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5053, allocations: 0 / 0.9563 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.367e-05/0.5053, allocations: 55.27 kB / 0.9564 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.5053, allocations: 4.969 kB / 0.9564 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.5054, allocations: 5.422 kB / 0.9564 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.5054, allocations: 4.094 kB / 0.9564 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.258e-05/0.5054, allocations: 6.562 kB / 0.9564 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.5054, allocations: 1.625 kB / 0.9564 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.5054, allocations: 0 / 0.9564 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.5055, allocations: 1.406 kB / 0.9564 GB, free: 2.879 MB / 0.7169 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 3.397e-05/0.5055, allocations: 107.3 kB / 0.9565 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.5055, allocations: 5.125 kB / 0.9565 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.204e-05/0.5056, allocations: 50.59 kB / 0.9565 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5056, allocations: 1.406 kB / 0.9565 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5056, allocations: 0 / 0.9565 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.5056, allocations: 3.938 kB / 0.9565 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.229e-05/0.5057, allocations: 157.9 kB / 0.9567 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5057, allocations: 3.938 kB / 0.9567 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.5057, allocations: 3.5 kB / 0.9567 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.5057, allocations: 1.219 kB / 0.9567 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.5057, allocations: 0 / 0.9567 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5057, allocations: 1.156 kB / 0.9567 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5057, allocations: 0 / 0.9567 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.422e-05/0.5058, allocations: 67.47 kB / 0.9568 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.5058, allocations: 86.17 kB / 0.9569 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.5058, allocations: 5.109 kB / 0.9569 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.501e-05/0.5058, allocations: 7.938 kB / 0.9569 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.5059, allocations: 2.5 kB / 0.9569 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.5059, allocations: 0 / 0.9569 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.765e-05/0.5059, allocations: 79.5 kB / 0.9569 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5059, allocations: 4 kB / 0.9569 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002137/0.5061, allocations: 25.42 kB / 0.957 GB, free: 2.23 MB / 0.7169 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.0002463/0.5064, allocations: 0.6369 MB / 0.9576 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.416e-05/0.5064, allocations: 11.5 kB / 0.9576 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.5064, allocations: 0 / 0.9576 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.195e-05/0.5065, allocations: 8.406 kB / 0.9576 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.5066, allocations: 5.406 kB / 0.9576 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.5069, allocations: 166.3 kB / 0.9578 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.817e-05/0.507, allocations: 0.6801 MB / 0.9584 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.507, allocations: 7.938 kB / 0.9584 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.5071, allocations: 10.94 kB / 0.9585 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5071, allocations: 0 / 0.9585 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1141/0.6212, allocations: 1.507 MB / 0.9599 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.6214, allocations: 247.8 kB / 0.9602 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/2.09, allocations: 0 / 0.9602 GB, free: 15.72 MB / 0.7325 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