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.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.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.00119/0.00119, 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.001211/0.001211, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.446/2.446, allocations: 390.3 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.91 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6152/0.6166, allocations: 140.4 MB / 0.9497 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002446/0.6191, allocations: 1.464 MB / 0.9512 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.6204, allocations: 0.9079 MB / 0.9521 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.303e-05/0.6205, allocations: 2.469 kB / 0.9521 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.6207, allocations: 47.03 kB / 0.9521 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.418e-05/0.6207, allocations: 17.34 kB / 0.9521 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.6212, allocations: 198.8 kB / 0.9523 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.567e-05/0.6213, allocations: 48.05 kB / 0.9524 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.6213, allocations: 2.406 kB / 0.9524 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.611e-05/0.6214, allocations: 20.45 kB / 0.9524 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.105e-05/0.6214, allocations: 10.88 kB / 0.9524 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.6214, allocations: 1.406 kB / 0.9524 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.6217, allocations: 146.2 kB / 0.9525 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.6217, allocations: 13.33 kB / 0.9525 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.6217, allocations: 19.12 kB / 0.9526 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.6219, allocations: 123 kB / 0.9527 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6219, allocations: 1.125 kB / 0.9527 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.622, allocations: 0 / 0.9527 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.622, allocations: 3.938 kB / 0.9527 GB, free: 6.984 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.0002823/0.6222, allocations: 370.6 kB / 0.953 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.6223, allocations: 9.75 kB / 0.953 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.731e-05/0.6223, allocations: 107.5 kB / 0.9531 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.6224, allocations: 85.44 kB / 0.9532 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.6225, allocations: 261.5 kB / 0.9535 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.6225, allocations: 154.9 kB / 0.9536 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.6226, allocations: 152.3 kB / 0.9538 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.627e-05/0.6226, allocations: 105.1 kB / 0.9539 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.6226, allocations: 80.72 kB / 0.9539 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.6226, allocations: 158.5 kB / 0.9541 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.6227, allocations: 150.6 kB / 0.9542 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.191e-05/0.6227, allocations: 152.1 kB / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.6229, allocations: 465 kB / 0.9548 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.768e-05/0.6229, allocations: 173.1 kB / 0.955 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.6229, allocations: 81.55 kB / 0.9551 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.623, allocations: 79.22 kB / 0.9551 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.623, allocations: 111.2 kB / 0.9553 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.623, allocations: 0 / 0.9553 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.263e-05/0.6231, allocations: 32.05 kB / 0.9553 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.6231, allocations: 131.9 kB / 0.9554 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.6232, allocations: 133.2 kB / 0.9555 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.723e-06/0.6232, allocations: 25.7 kB / 0.9556 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.6232, allocations: 94.19 kB / 0.9556 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.6232, allocations: 0.9375 kB / 0.9556 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.6233, allocations: 13.88 kB / 0.9557 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.114e-05/0.6233, allocations: 321.1 kB / 0.956 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.6233, allocations: 2.062 kB / 0.956 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.511e-05/0.6234, allocations: 14.73 kB / 0.956 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3e-05/0.6234, allocations: 13.08 kB / 0.956 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6234, allocations: 1.156 kB / 0.956 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001022/0.6235, allocations: 53.94 kB / 0.9561 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.6235, allocations: 4.406 kB / 0.9561 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.6236, allocations: 2.031 kB / 0.9561 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.6236, allocations: 0.9688 kB / 0.9561 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.6236, allocations: 3.938 kB / 0.9561 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.6236, allocations: 0 / 0.9561 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.6236, allocations: 5 kB / 0.9561 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.6236, allocations: 1.938 kB / 0.9561 GB, free: 3.387 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 5.055e-05/0.6237, allocations: 183.5 kB / 0.9562 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.6237, allocations: 123.3 kB / 0.9564 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.6238, allocations: 114.4 kB / 0.9565 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.6238, allocations: 181.6 kB / 0.9566 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/0.6238, allocations: 181.5 kB / 0.9568 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/0.6238, allocations: 180.2 kB / 0.957 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.624, allocations: 416 kB / 0.9574 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.624, allocations: 110.8 kB / 0.9575 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.624, allocations: 104.9 kB / 0.9576 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.086e-05/0.6241, allocations: 177.4 kB / 0.9578 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.6241, allocations: 189.7 kB / 0.9579 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.04e-05/0.6241, allocations: 181.4 kB / 0.9581 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-05/0.6242, allocations: 185.3 kB / 0.9583 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.677e-05/0.6242, allocations: 304.5 kB / 0.9586 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.6243, allocations: 200.2 kB / 0.9588 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.6243, allocations: 181.4 kB / 0.9589 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.337e-05/0.6243, allocations: 102.3 kB / 0.959 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.6244, allocations: 181.5 kB / 0.9592 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.6244, allocations: 101 kB / 0.9593 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.714e-05/0.6245, allocations: 107 kB / 0.9594 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6245, allocations: 4 kB / 0.9594 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002629/0.6248, allocations: 33.38 kB / 0.9594 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.0005887/0.6254, allocations: 0.8508 MB / 0.9603 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.054e-05/0.6255, allocations: 36.06 kB / 0.9603 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6255, allocations: 4.062 kB / 0.9603 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.6255, allocations: 0 / 0.9603 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.6259, allocations: 467.5 kB / 0.9608 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.627, allocations: 1.466 MB / 0.9622 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.6272, allocations: 0.6844 MB / 0.9629 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.9e-05/0.6272, allocations: 2.594 kB / 0.9629 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.6272, allocations: 20.67 kB / 0.9629 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.6272, allocations: 0 / 0.9629 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.6476, allocations: 2.701 MB / 0.9655 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/8.266, allocations: 15.92 kB / 0.9655 GB, free: 10.89 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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