Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.ConvectionResistance,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",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.001198/0.001198, allocations: 108 kB / 15.61 MB, free: 148 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.001609/0.001609, allocations: 193.6 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.438/2.438, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7291/0.7305, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002965/0.7335, allocations: 1.276 MB / 0.951 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003783/0.7373, allocations: 3.765 MB / 0.9547 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.7373, allocations: 0 / 0.9547 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.7373, allocations: 0 / 0.9547 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.7378, allocations: 95.98 kB / 0.9547 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.7381, allocations: 134.8 kB / 0.9549 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.674e-05/0.7382, allocations: 32.77 kB / 0.9549 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.7382, allocations: 1.594 kB / 0.9549 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.7383, allocations: 26.59 kB / 0.9549 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/0.7384, allocations: 39.84 kB / 0.955 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.7384, allocations: 1 kB / 0.955 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005277/0.739, allocations: 304.8 kB / 0.9553 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.739, allocations: 1 kB / 0.9553 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.739, allocations: 7 kB / 0.9553 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.7394, allocations: 122 kB / 0.9554 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.7394, allocations: 4 kB / 0.9554 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7394, allocations: 3.938 kB / 0.9554 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.7394, allocations: 1.062 kB / 0.9554 GB, free: 4.625 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004787/0.7399, allocations: 354 kB / 0.9557 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.74, allocations: 10.34 kB / 0.9557 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.74, allocations: 46.61 kB / 0.9558 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.7401, allocations: 5.906 kB / 0.9558 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.7402, allocations: 166.8 kB / 0.9559 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.7402, allocations: 384 / 0.956 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.7402, allocations: 5.531 kB / 0.956 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.7404, allocations: 33.3 kB / 0.956 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.7404, allocations: 3.984 kB / 0.956 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.7404, allocations: 5.219 kB / 0.956 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.7404, allocations: 0 / 0.956 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.7404, allocations: 3.656 kB / 0.956 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.7406, allocations: 154.2 kB / 0.9561 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.112e-05/0.7407, allocations: 28.45 kB / 0.9562 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.7407, allocations: 7.078 kB / 0.9562 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.741, allocations: 103.3 kB / 0.9563 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.741, allocations: 39.67 kB / 0.9563 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.741, allocations: 0 / 0.9563 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001594/0.7412, allocations: 40.92 kB / 0.9564 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.7412, allocations: 55.53 kB / 0.9564 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.846e-05/0.7413, allocations: 104.6 kB / 0.9565 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.7413, allocations: 25.7 kB / 0.9565 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.7413, allocations: 85.27 kB / 0.9566 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.7413, allocations: 4.969 kB / 0.9566 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.7414, allocations: 12.16 kB / 0.9566 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.7414, allocations: 316 kB / 0.9569 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.7415, allocations: 6.234 kB / 0.9569 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-06/0.7415, allocations: 5.688 kB / 0.9569 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.7415, allocations: 11.48 kB / 0.957 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7415, allocations: 3.938 kB / 0.957 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.102e-05/0.7416, allocations: 50.67 kB / 0.957 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.7416, allocations: 5.531 kB / 0.957 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.7416, allocations: 0 / 0.957 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.7416, allocations: 0.9375 kB / 0.957 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.7417, allocations: 7.172 kB / 0.957 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.7417, allocations: 96 / 0.957 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.7417, allocations: 5.062 kB / 0.957 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.7417, allocations: 1 kB / 0.957 GB, free: 2.82 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 5.155e-05/0.7418, allocations: 106.9 kB / 0.9571 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.7418, allocations: 5.938 kB / 0.9571 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.7419, allocations: 58.33 kB / 0.9572 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.7419, allocations: 1.219 kB / 0.9572 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.7419, allocations: 0 / 0.9572 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.7419, allocations: 5.406 kB / 0.9572 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.087e-05/0.742, allocations: 153.3 kB / 0.9573 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.742, allocations: 7.938 kB / 0.9573 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/0.742, allocations: 3.625 kB / 0.9574 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.7421, allocations: 0 / 0.9574 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.7421, allocations: 1.125 kB / 0.9574 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7421, allocations: 1.094 kB / 0.9574 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7421, allocations: 0 / 0.9574 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.017e-05/0.7421, allocations: 72.25 kB / 0.9574 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.7422, allocations: 86.05 kB / 0.9575 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.7422, allocations: 0 / 0.9575 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.423e-05/0.7422, allocations: 1.312 kB / 0.9575 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.7422, allocations: 5.234 kB / 0.9575 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.7423, allocations: 1.156 kB / 0.9575 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.62e-05/0.7423, allocations: 78.69 kB / 0.9576 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7423, allocations: 0 / 0.9576 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002431/0.7425, allocations: 26 kB / 0.9576 GB, free: 2.172 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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.0003422/0.7429, allocations: 0.6396 MB / 0.9582 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.26e-05/0.743, allocations: 7.406 kB / 0.9582 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.743, allocations: 0 / 0.9582 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.828e-05/0.743, allocations: 16.16 kB / 0.9583 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.7433, allocations: 6.875 kB / 0.9583 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.7437, allocations: 166.5 kB / 0.9584 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.7439, allocations: 0.6794 MB / 0.9591 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.732e-05/0.7439, allocations: 4 kB / 0.9591 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.7439, allocations: 8.812 kB / 0.9591 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.7439, allocations: 3 kB / 0.9591 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.7639, allocations: 1.612 MB / 0.9607 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/8.445, allocations: 12.66 kB / 0.9607 GB, free: 15.79 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_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_ConvectionResistance.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches