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.00156/0.00156, allocations: 108 kB / 15.6 MB, free: 132 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.001533/0.001533, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.434/2.434, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7245/0.7259, allocations: 140.4 MB / 0.9497 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002085/0.728, allocations: 1.28 MB / 0.951 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003351/0.7314, allocations: 3.762 MB / 0.9547 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.7314, allocations: 0 / 0.9547 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.7314, allocations: 0 / 0.9547 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.7318, allocations: 103.8 kB / 0.9548 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.7321, allocations: 134.2 kB / 0.9549 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.287e-05/0.7322, allocations: 32.58 kB / 0.9549 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.7322, allocations: 5.172 kB / 0.9549 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-05/0.7323, allocations: 27.08 kB / 0.9549 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.509e-05/0.7324, allocations: 35.62 kB / 0.955 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.7325, allocations: 0.8438 kB / 0.955 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.7328, allocations: 305.5 kB / 0.9553 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.7329, allocations: 0.875 kB / 0.9553 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.7329, allocations: 15.27 kB / 0.9553 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.7331, allocations: 116.8 kB / 0.9554 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7331, allocations: 1.156 kB / 0.9554 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7331, allocations: 0 / 0.9554 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7331, allocations: 0 / 0.9554 GB, free: 4.582 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.0003067/0.7334, allocations: 362.9 kB / 0.9557 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.7335, allocations: 9.219 kB / 0.9557 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.7335, allocations: 31.91 kB / 0.9558 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.7335, allocations: 5.938 kB / 0.9558 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.419e-05/0.7336, allocations: 169.6 kB / 0.9559 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.7336, allocations: 5.531 kB / 0.956 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.7336, allocations: 1.625 kB / 0.956 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.655e-05/0.7337, allocations: 37.28 kB / 0.956 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.7337, allocations: 3.938 kB / 0.956 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.7337, allocations: 0 / 0.956 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.7337, allocations: 0 / 0.956 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.099e-05/0.7338, allocations: 4.781 kB / 0.956 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.7339, allocations: 153.1 kB / 0.9561 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.462e-05/0.7339, allocations: 28.52 kB / 0.9562 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.734, allocations: 8.203 kB / 0.9562 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002095/0.7342, allocations: 102.1 kB / 0.9563 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.7342, allocations: 35.75 kB / 0.9563 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.883e-06/0.7342, allocations: 0 / 0.9563 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001238/0.7343, allocations: 52.91 kB / 0.9564 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.7344, allocations: 52.53 kB / 0.9564 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.998e-05/0.7344, allocations: 103.5 kB / 0.9565 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.7344, allocations: 25.7 kB / 0.9565 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.411e-05/0.7345, allocations: 81.27 kB / 0.9566 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.7345, allocations: 8.891 kB / 0.9566 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.7345, allocations: 16.22 kB / 0.9566 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.941e-05/0.7346, allocations: 316 kB / 0.9569 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.7346, allocations: 6.344 kB / 0.9569 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-06/0.7346, allocations: 2.562 kB / 0.9569 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/0.7346, allocations: 18.64 kB / 0.957 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.7346, allocations: 0 / 0.957 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.749e-05/0.7347, allocations: 51.78 kB / 0.957 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.7347, allocations: 4.406 kB / 0.957 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.7347, allocations: 9.094 kB / 0.957 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.7347, allocations: 0 / 0.957 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.7348, allocations: 11.28 kB / 0.957 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.7348, allocations: 1.031 kB / 0.957 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.547e-05/0.7348, allocations: 0 / 0.957 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.7348, allocations: 1.031 kB / 0.957 GB, free: 2.766 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 4.052e-05/0.7349, allocations: 107.9 kB / 0.9571 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.7349, allocations: 4.906 kB / 0.9571 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.268e-05/0.735, allocations: 51.59 kB / 0.9572 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.735, allocations: 0 / 0.9572 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.735, allocations: 5.156 kB / 0.9572 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.735, allocations: 0 / 0.9572 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.696e-05/0.7351, allocations: 153.3 kB / 0.9573 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7351, allocations: 5.062 kB / 0.9574 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.7351, allocations: 2.438 kB / 0.9574 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.7351, allocations: 1.188 kB / 0.9574 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.7351, allocations: 1.094 kB / 0.9574 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7351, allocations: 0 / 0.9574 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7351, allocations: 3.984 kB / 0.9574 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.945e-05/0.7352, allocations: 68.14 kB / 0.9574 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.7352, allocations: 90.12 kB / 0.9575 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.7353, allocations: 1.281 kB / 0.9575 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.432e-05/0.7353, allocations: 0 / 0.9575 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.7353, allocations: 1.25 kB / 0.9575 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.7353, allocations: 1.156 kB / 0.9575 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.485e-05/0.7353, allocations: 82.66 kB / 0.9576 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7353, allocations: 1.125 kB / 0.9576 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002214/0.7356, allocations: 28.89 kB / 0.9576 GB, free: 2.121 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.0002766/0.7358, allocations: 0.6319 MB / 0.9582 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.7359, allocations: 11.28 kB / 0.9582 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7359, allocations: 0 / 0.9582 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.226e-05/0.7359, allocations: 8.562 kB / 0.9583 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.7361, allocations: 4.594 kB / 0.9583 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.7365, allocations: 178.4 kB / 0.9584 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.423e-05/0.7366, allocations: 0.6803 MB / 0.9591 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.493e-05/0.7367, allocations: 6.312 kB / 0.9591 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.7367, allocations: 10.25 kB / 0.9591 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7367, allocations: 0 / 0.9591 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.7535, allocations: 1.614 MB / 0.9607 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/8.264, allocations: 13.8 kB / 0.9607 GB, free: 15.73 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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