Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.SingleUTubeResistances,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.001258/0.001258, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001234/0.001234, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.243/1.243, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.135/2.135, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4923, allocations: 140.3 MB / 0.949 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002052/0.4944, allocations: 1.546 MB / 0.9506 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009971/0.4954, allocations: 0.9259 MB / 0.9515 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.4955, allocations: 6 kB / 0.9515 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.4956, allocations: 42.06 kB / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.239e-05/0.4957, allocations: 14.33 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.496, allocations: 171.5 kB / 0.9517 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.584e-05/0.4961, allocations: 46.8 kB / 0.9517 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.209e-05/0.4961, allocations: 7.234 kB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.956e-05/0.4962, allocations: 20.86 kB / 0.9518 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.348e-05/0.4962, allocations: 9.5 kB / 0.9518 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.4962, allocations: 5.656 kB / 0.9518 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.4965, allocations: 146.7 kB / 0.9519 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.4965, allocations: 9.219 kB / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.4965, allocations: 18.7 kB / 0.9519 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.4967, allocations: 122.7 kB / 0.9521 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4967, allocations: 4.938 kB / 0.9521 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4967, allocations: 0 / 0.9521 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.825e-06/0.4967, allocations: 3.938 kB / 0.9521 GB, free: 6.977 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00023/0.4969, allocations: 372 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.497, allocations: 9.812 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.191e-05/0.497, allocations: 106 kB / 0.9525 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.4971, allocations: 83.25 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.4972, allocations: 251.5 kB / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.4972, allocations: 154.9 kB / 0.953 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.4972, allocations: 156.1 kB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.062e-05/0.4973, allocations: 113.1 kB / 0.9533 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4973, allocations: 80.31 kB / 0.9533 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.4973, allocations: 150.6 kB / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.4973, allocations: 155.9 kB / 0.9536 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.702e-05/0.4973, allocations: 150.6 kB / 0.9538 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.4975, allocations: 465.4 kB / 0.9542 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.352e-05/0.4975, allocations: 170.4 kB / 0.9544 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.4976, allocations: 84.14 kB / 0.9545 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.4976, allocations: 75.28 kB / 0.9545 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.4976, allocations: 115 kB / 0.9546 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.4976, allocations: 0 / 0.9546 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.882e-05/0.4977, allocations: 37.2 kB / 0.9547 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.4977, allocations: 126.7 kB / 0.9548 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.045e-05/0.4978, allocations: 128.7 kB / 0.9549 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.4978, allocations: 34.83 kB / 0.9549 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.4978, allocations: 90.97 kB / 0.955 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-06/0.4978, allocations: 0 / 0.955 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.4979, allocations: 18.25 kB / 0.955 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.414e-05/0.4979, allocations: 316 kB / 0.9554 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.4979, allocations: 6.938 kB / 0.9554 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.24e-05/0.4979, allocations: 2.156 kB / 0.9554 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.922e-05/0.498, allocations: 9.516 kB / 0.9554 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.498, allocations: 5.625 kB / 0.9554 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.251e-05/0.4981, allocations: 56.95 kB / 0.9554 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.4981, allocations: 6.094 kB / 0.9554 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.4981, allocations: 5.328 kB / 0.9554 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.4981, allocations: 1.594 kB / 0.9554 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.4981, allocations: 3.938 kB / 0.9554 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.4981, allocations: 0 / 0.9554 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.935e-05/0.4982, allocations: 1.656 kB / 0.9554 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.4982, allocations: 5.562 kB / 0.9555 GB, free: 3.383 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 4.491e-05/0.4982, allocations: 190.8 kB / 0.9556 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.4983, allocations: 111.9 kB / 0.9557 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.4983, allocations: 118.1 kB / 0.9559 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.4983, allocations: 177.9 kB / 0.956 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/0.4983, allocations: 180.3 kB / 0.9562 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.4984, allocations: 181.8 kB / 0.9564 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.4985, allocations: 420 kB / 0.9568 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.4985, allocations: 110 kB / 0.9569 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.186e-05/0.4985, allocations: 105 kB / 0.957 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.712e-05/0.4985, allocations: 181.6 kB / 0.9571 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.4986, allocations: 178 kB / 0.9573 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.145e-05/0.4986, allocations: 189.5 kB / 0.9575 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.825e-05/0.4986, allocations: 184.1 kB / 0.9577 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.27e-05/0.4987, allocations: 309.6 kB / 0.958 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.4987, allocations: 191.8 kB / 0.9581 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.4987, allocations: 181.7 kB / 0.9583 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.305e-05/0.4988, allocations: 106.8 kB / 0.9584 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.4988, allocations: 176.3 kB / 0.9586 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.4989, allocations: 110.5 kB / 0.9587 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.802e-05/0.4989, allocations: 101.7 kB / 0.9588 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4989, allocations: 0 / 0.9588 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002559/0.4992, allocations: 33.56 kB / 0.9588 GB, free: 15.77 MB / 0.7325 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 (0): * Single equations (assignments): 0 * 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.0004409/0.4996, allocations: 0.8492 MB / 0.9597 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.344e-05/0.4997, allocations: 40.12 kB / 0.9597 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.4997, allocations: 3.938 kB / 0.9597 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.4997, allocations: 1.312 kB / 0.9597 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.5001, allocations: 0.5328 MB / 0.9602 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.5012, allocations: 1.465 MB / 0.9617 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.5014, allocations: 0.6849 MB / 0.9623 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.79e-05/0.5014, allocations: 2.062 kB / 0.9623 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.5014, allocations: 12.66 kB / 0.9623 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5014, allocations: 1.156 kB / 0.9623 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1343/0.6357, allocations: 2.572 MB / 0.9648 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.636, allocations: 249.1 kB / 0.9651 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.254, allocations: 0 / 0.9651 GB, free: 10.7 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches