Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_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.007825/0.007825, allocations: 99.69 kB / 15.73 MB, free: 6.039 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.002103/0.002103, allocations: 192.3 kB / 16.67 MB, free: 5.949 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 482.4 MB / 0.7548 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 59.91 kB / 1.083 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3136, allocations: 162.2 MB / 1.241 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002508/0.3161, allocations: 1.476 MB / 1.243 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.3176, allocations: 0.9112 MB / 1.244 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.3176, allocations: 0 / 1.244 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.3178, allocations: 35.83 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.534e-05/0.3179, allocations: 31.78 kB / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.3184, allocations: 189.4 kB / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.6e-05/0.3185, allocations: 51.67 kB / 1.244 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.3185, allocations: 4 kB / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.3186, allocations: 23.86 kB / 1.244 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.553e-05/0.3187, allocations: 19.88 kB / 1.244 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.3187, allocations: 0 / 1.244 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003645/0.319, allocations: 171.8 kB / 1.244 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.3191, allocations: 0 / 1.244 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.3191, allocations: 19.88 kB / 1.244 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.3193, allocations: 123.5 kB / 1.244 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3193, allocations: 0 / 1.244 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3193, allocations: 0 / 1.244 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3194, allocations: 0 / 1.244 GB, free: 7.102 MB / 0.9981 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.0004181/0.3198, allocations: 375 kB / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3198, allocations: 12.03 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.769e-05/0.3199, allocations: 106 kB / 1.245 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.32, allocations: 80.17 kB / 1.245 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.3202, allocations: 269.1 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/0.3203, allocations: 154.9 kB / 1.245 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/0.3204, allocations: 154.9 kB / 1.246 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.473e-05/0.3205, allocations: 105.1 kB / 1.246 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.3205, allocations: 75.28 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.286e-05/0.3206, allocations: 150.6 kB / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.227e-05/0.3206, allocations: 150.6 kB / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.832e-05/0.3207, allocations: 162.6 kB / 1.246 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.321, allocations: 461.9 kB / 1.247 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.269e-05/0.3212, allocations: 169.1 kB / 1.247 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.3212, allocations: 84.19 kB / 1.247 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.3212, allocations: 75.28 kB / 1.247 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.694e-05/0.3213, allocations: 117.8 kB / 1.247 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3213, allocations: 0 / 1.247 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.558e-05/0.3214, allocations: 37.59 kB / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.3215, allocations: 126.7 kB / 1.247 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.3216, allocations: 135.1 kB / 1.247 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.3216, allocations: 29.64 kB / 1.247 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.3217, allocations: 92.09 kB / 1.247 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.3217, allocations: 4 kB / 1.247 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.3218, allocations: 17.7 kB / 1.247 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3219, allocations: 318.8 kB / 1.248 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.3219, allocations: 4 kB / 1.248 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.518e-05/0.3219, allocations: 7.984 kB / 1.248 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.132e-05/0.322, allocations: 8.859 kB / 1.248 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.322, allocations: 3.938 kB / 1.248 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001155/0.3221, allocations: 57.61 kB / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3221, allocations: 8.062 kB / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.3221, allocations: 3.984 kB / 1.248 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3222, allocations: 0 / 1.248 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.3222, allocations: 4 kB / 1.248 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3222, allocations: 0 / 1.248 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.3222, allocations: 3.953 kB / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3222, allocations: 0 / 1.248 GB, free: 3.371 MB / 0.9981 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.0001035/0.3223, allocations: 189.1 kB / 1.248 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.3224, allocations: 112.9 kB / 1.248 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.024e-05/0.3225, allocations: 116.8 kB / 1.248 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.321e-05/0.3226, allocations: 176.3 kB / 1.248 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-05/0.3226, allocations: 180.2 kB / 1.249 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.356e-05/0.3227, allocations: 180.3 kB / 1.249 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.323, allocations: 409.2 kB / 1.249 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.475e-05/0.323, allocations: 124.8 kB / 1.249 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.3231, allocations: 101 kB / 1.249 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.502e-05/0.3232, allocations: 180.2 kB / 1.25 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.291e-05/0.3233, allocations: 176.3 kB / 1.25 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.545e-05/0.3233, allocations: 184.3 kB / 1.25 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.566e-05/0.3234, allocations: 188.2 kB / 1.25 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.3236, allocations: 307.7 kB / 1.25 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.794e-05/0.3237, allocations: 194 kB / 1.251 GB, free: 424 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/0.3238, allocations: 180.2 kB / 1.251 GB, free: 236 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.174e-05/0.3239, allocations: 104.9 kB / 1.251 GB, free: 124 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.5806/0.9045, allocations: 180.9 kB / 1.251 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.9045, allocations: 103 kB / 1.251 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.433e-05/0.9046, allocations: 99.94 kB / 1.251 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9046, allocations: 0.75 kB / 1.251 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003669/0.905, allocations: 34.58 kB / 1.251 GB, free: 15.51 MB / 0.9981 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.0003875/0.9054, allocations: 0.8584 MB / 1.252 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.9055, allocations: 42.47 kB / 1.252 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9055, allocations: 1.531 kB / 1.252 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.9055, allocations: 3.594 kB / 1.252 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.9059, allocations: 472.4 kB / 1.253 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009688/0.9069, allocations: 1.462 MB / 1.254 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.907, allocations: 0.6846 MB / 1.255 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.072e-05/0.907, allocations: 5.172 kB / 1.255 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.9071, allocations: 14.36 kB / 1.255 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.9071, allocations: 0 / 1.255 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.9308, allocations: 2.718 MB / 1.257 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.619, allocations: 9.344 kB / 1.257 GB, free: 11.91 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches