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.01063/0.01063, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.002005/0.002005, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.241/2.241, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.8412, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002487/0.8437, allocations: 1.473 MB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.8452, allocations: 0.9024 MB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.8453, allocations: 1.188 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.8455, allocations: 47.03 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.579e-05/0.8456, allocations: 17.28 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006168/0.8462, allocations: 194.6 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.8463, allocations: 46.8 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.8464, allocations: 5.062 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.8465, allocations: 21.17 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.247e-05/0.8465, allocations: 20.47 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.8465, allocations: 1.125 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004286/0.8469, allocations: 168.6 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.847, allocations: 10.06 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.847, allocations: 15.83 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.8473, allocations: 125.9 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8473, allocations: 0 / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.574e-06/0.8473, allocations: 0 / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.8473, allocations: 1.281 kB / 1.09 GB, free: 3.348 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003337/0.8477, allocations: 365.5 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.8477, allocations: 12.84 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.645e-05/0.8478, allocations: 111 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.8478, allocations: 83.05 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.848, allocations: 254 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.8481, allocations: 152.7 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.8481, allocations: 154.9 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.229e-05/0.8481, allocations: 110.2 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.8482, allocations: 80.02 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.8482, allocations: 151.5 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.8482, allocations: 154.6 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.094e-05/0.8482, allocations: 155.5 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.8485, allocations: 472.7 kB / 1.093 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.443e-05/0.8485, allocations: 166.2 kB / 1.093 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.8485, allocations: 84.7 kB / 1.093 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.8486, allocations: 76.22 kB / 1.093 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.774e-05/0.8486, allocations: 115.7 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.8486, allocations: 7.938 kB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 6.95e-05/0.8487, allocations: 30.06 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.8488, allocations: 126.7 kB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.849, allocations: 142.5 kB / 1.093 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.849, allocations: 25.7 kB / 1.093 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.8491, allocations: 93.02 kB / 1.093 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.8491, allocations: 0 / 1.093 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.8491, allocations: 18.83 kB / 1.093 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8492, allocations: 319.6 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.8493, allocations: 7.203 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.507e-05/0.8493, allocations: 2.281 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.635e-05/0.8493, allocations: 18.44 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8493, allocations: 3.938 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000129/0.8495, allocations: 45.84 kB / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.8495, allocations: 4.438 kB / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.8495, allocations: 2.734 kB / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.8495, allocations: 64 / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/0.8495, allocations: 5.5 kB / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.8496, allocations: 0 / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.8496, allocations: 9.094 kB / 1.094 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.8496, allocations: 1.547 kB / 1.094 GB, free: 15.78 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 (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 0.000104/0.8497, allocations: 184.7 kB / 1.094 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.8498, allocations: 120.3 kB / 1.094 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.8498, allocations: 109.2 kB / 1.094 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.948e-05/0.8499, allocations: 186 kB / 1.094 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.195e-05/0.85, allocations: 181.3 kB / 1.095 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.459e-05/0.8501, allocations: 182.7 kB / 1.095 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.8503, allocations: 417.2 kB / 1.095 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.04e-05/0.8504, allocations: 110.4 kB / 1.095 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.8504, allocations: 106.7 kB / 1.095 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-05/0.8505, allocations: 180.8 kB / 1.096 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-05/0.8506, allocations: 178.5 kB / 1.096 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-05/0.8507, allocations: 182.3 kB / 1.096 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.922e-05/0.8507, allocations: 177.9 kB / 1.096 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.8509, allocations: 311.2 kB / 1.096 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.851, allocations: 188.9 kB / 1.097 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/0.8511, allocations: 182.3 kB / 1.097 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.8512, allocations: 102.8 kB / 1.097 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.8513, allocations: 189.8 kB / 1.097 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.8514, allocations: 106.8 kB / 1.097 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.09e-05/0.8515, allocations: 97.92 kB / 1.097 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.8515, allocations: 0 / 1.097 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004059/0.8519, allocations: 38.17 kB / 1.097 GB, free: 12.2 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 (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.000722/0.8526, allocations: 0.8588 MB / 1.098 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.8527, allocations: 37.58 kB / 1.098 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8528, allocations: 0 / 1.098 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.8528, allocations: 0.7812 kB / 1.098 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.8533, allocations: 464.4 kB / 1.099 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.8548, allocations: 1.467 MB / 1.1 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.8552, allocations: 0.6869 MB / 1.101 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.8552, allocations: 2.328 kB / 1.101 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.8553, allocations: 14.44 kB / 1.101 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of SimCode: time 3.91e-07/0.8553, allocations: 0 / 1.101 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.8763, allocations: 2.712 MB / 1.103 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/8.511, allocations: 7.688 kB / 1.103 GB, free: 8.383 MB / 0.8731 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