Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_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.009122/0.009123, allocations: 99.59 kB / 15.73 MB, free: 6.008 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.002423/0.002423, allocations: 198.2 kB / 16.68 MB, free: 5.934 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.369/1.369, 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 11.1.0-maint.11.x/package.mo): time 2.625/2.625, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 67.84 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8096, allocations: 159.1 MB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002413/0.8121, allocations: 1.474 MB / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.8134, allocations: 0.9013 MB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.825e-05/0.8135, allocations: 4 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.8137, allocations: 47.77 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.945e-05/0.8138, allocations: 15.84 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.8143, allocations: 191.8 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.486e-05/0.8144, allocations: 47.73 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.8145, allocations: 4 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.293e-05/0.8145, allocations: 27.86 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.081e-05/0.8146, allocations: 11.88 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.8146, allocations: 7.984 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.815, allocations: 167.8 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.815, allocations: 4 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.815, allocations: 15.88 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.8152, allocations: 127.3 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8153, allocations: 0 / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8153, allocations: 7.938 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.8153, allocations: 0 / 1.223 GB, free: 14.96 MB / 0.9512 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.0003849/0.8157, allocations: 375 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.8157, allocations: 8.031 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.645e-05/0.8158, allocations: 106 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.917e-05/0.8158, allocations: 84.17 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.8161, allocations: 259.5 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/0.8162, allocations: 154.9 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.8162, allocations: 158.9 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.113e-05/0.8163, allocations: 105.1 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.8164, allocations: 75.28 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/0.8164, allocations: 150.6 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.524e-05/0.8165, allocations: 158.5 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.8e-05/0.8166, allocations: 150.6 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.8169, allocations: 469.8 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.495e-05/0.817, allocations: 165.1 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.8171, allocations: 88.12 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.8171, allocations: 83.22 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.19e-05/0.8172, allocations: 121.7 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.8172, allocations: 0 / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.951e-05/0.8173, allocations: 33.69 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.8174, allocations: 126.7 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.8175, allocations: 135.9 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.8175, allocations: 29.7 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.8176, allocations: 96.08 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.8176, allocations: 0 / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.8177, allocations: 21.7 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.8178, allocations: 310.8 kB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.8178, allocations: 12 kB / 1.226 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.645e-05/0.8178, allocations: 7.938 kB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.416e-05/0.8179, allocations: 16.84 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8179, allocations: 4.031 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001243/0.818, allocations: 41.64 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.818, allocations: 4 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.8181, allocations: 4 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.8181, allocations: 0 / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.8181, allocations: 0 / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.8181, allocations: 0 / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.8181, allocations: 7.938 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.8181, allocations: 8 kB / 1.227 GB, free: 11.23 MB / 0.9512 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.0001125/0.8182, allocations: 185.2 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.8183, allocations: 116.8 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.8184, allocations: 104.9 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.657e-05/0.8185, allocations: 192.2 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.088e-05/0.8185, allocations: 176.3 kB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.827e-05/0.8186, allocations: 180.3 kB / 1.227 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.8189, allocations: 417.2 kB / 1.228 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-05/0.8189, allocations: 108.9 kB / 1.228 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.819, allocations: 108.9 kB / 1.228 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.079e-05/0.819, allocations: 180.3 kB / 1.228 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/0.8191, allocations: 180.2 kB / 1.228 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.267e-05/0.8192, allocations: 184.2 kB / 1.229 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.706e-05/0.8193, allocations: 176.3 kB / 1.229 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.8195, allocations: 311.8 kB / 1.229 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-05/0.8196, allocations: 186 kB / 1.229 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.197e-05/0.8197, allocations: 184.2 kB / 1.229 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.8197, allocations: 109 kB / 1.23 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.8198, allocations: 184.2 kB / 1.23 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.8199, allocations: 101 kB / 1.23 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.916e-05/0.82, allocations: 101.5 kB / 1.23 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.82, allocations: 3.938 kB / 1.23 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000265/0.8202, allocations: 31.88 kB / 1.23 GB, free: 7.555 MB / 0.9512 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.0005745/0.8208, allocations: 0.867 MB / 1.231 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.696e-05/0.8209, allocations: 33.7 kB / 1.231 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8209, allocations: 0 / 1.231 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.8209, allocations: 0 / 1.231 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.8214, allocations: 475.7 kB / 1.231 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.8226, allocations: 1.464 MB / 1.233 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.8229, allocations: 0.6885 MB / 1.233 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.823, allocations: 48 / 1.233 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.823, allocations: 15.47 kB / 1.233 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.823, allocations: 0 / 1.233 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.846, allocations: 2.72 MB / 1.236 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.761, allocations: 9.188 kB / 1.236 GB, free: 1.305 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches