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.007372/0.007372, allocations: 102 kB / 15.73 MB, free: 6.055 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.001721/0.001721, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.235/2.235, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 63.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9693/0.9712, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002698/0.9739, allocations: 1.478 MB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.9754, allocations: 0.9019 MB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.9756, allocations: 6.156 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.9758, allocations: 51.12 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.751e-05/0.9758, allocations: 18.05 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.9764, allocations: 189.7 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.9765, allocations: 48.09 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.9765, allocations: 4.781 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.384e-05/0.9766, allocations: 21.5 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.537e-05/0.9767, allocations: 16.16 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.9767, allocations: 0 / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004276/0.9771, allocations: 165.9 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.9771, allocations: 13.48 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.9772, allocations: 16.25 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.9774, allocations: 128.4 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9775, allocations: 1.688 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9775, allocations: 0 / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.9775, allocations: 0 / 1.09 GB, free: 3.379 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.0003038/0.9778, allocations: 366.8 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.9778, allocations: 10.31 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.9779, allocations: 106.8 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.9779, allocations: 82.28 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.9781, allocations: 267.4 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.9782, allocations: 150.9 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.9782, allocations: 152.1 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.929e-05/0.9783, allocations: 114.9 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.9783, allocations: 75.28 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.9784, allocations: 151.7 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.9784, allocations: 154.6 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.652e-05/0.9785, allocations: 156.4 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.9787, allocations: 467.5 kB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.817e-05/0.9787, allocations: 166.6 kB / 1.093 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.9788, allocations: 92.14 kB / 1.093 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.9788, allocations: 77.14 kB / 1.093 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.496e-05/0.9789, allocations: 111 kB / 1.093 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.9789, allocations: 0 / 1.093 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.362e-05/0.979, allocations: 36.56 kB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.979, allocations: 128.5 kB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.9792, allocations: 142.1 kB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.9792, allocations: 25.7 kB / 1.093 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.9792, allocations: 92.59 kB / 1.093 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.9792, allocations: 0 / 1.093 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.9793, allocations: 19.48 kB / 1.093 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.9794, allocations: 315.2 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.9794, allocations: 7.453 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.34e-05/0.9794, allocations: 3.031 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.155e-05/0.9795, allocations: 13.66 kB / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9795, allocations: 1.031 kB / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001225/0.9796, allocations: 51.97 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.9796, allocations: 5.5 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.9797, allocations: 2.719 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.9797, allocations: 0 / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.9797, allocations: 1.156 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.9797, allocations: 0.7031 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.9797, allocations: 5.062 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.9797, allocations: 4.828 kB / 1.094 GB, free: 15.82 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 9.887e-05/0.9798, allocations: 193.5 kB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/0.9799, allocations: 116.1 kB / 1.094 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.98, allocations: 109.1 kB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.223e-05/0.98, allocations: 178.1 kB / 1.094 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.862e-05/0.9801, allocations: 185.9 kB / 1.095 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.866e-05/0.9802, allocations: 193.9 kB / 1.095 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.9804, allocations: 412.8 kB / 1.095 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.093e-05/0.9804, allocations: 106.4 kB / 1.095 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/0.9805, allocations: 106.2 kB / 1.095 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.129e-05/0.9805, allocations: 186.7 kB / 1.096 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.521e-05/0.9806, allocations: 177.9 kB / 1.096 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.534e-05/0.9807, allocations: 185.6 kB / 1.096 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.745e-05/0.9807, allocations: 177.8 kB / 1.096 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.9809, allocations: 307.3 kB / 1.096 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.9809, allocations: 189.7 kB / 1.097 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.658e-05/0.981, allocations: 185.8 kB / 1.097 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.9811, allocations: 103.3 kB / 1.097 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.9812, allocations: 177.8 kB / 1.097 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.655e-05/0.9813, allocations: 110.2 kB / 1.097 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001471/0.9814, allocations: 98.08 kB / 1.097 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9815, allocations: 0 / 1.097 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003245/0.9818, allocations: 38.03 kB / 1.097 GB, free: 12.23 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.0005236/0.9823, allocations: 0.8582 MB / 1.098 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.649e-05/0.9824, allocations: 41.22 kB / 1.098 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9824, allocations: 0.7812 kB / 1.098 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.9825, allocations: 0.75 kB / 1.098 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.9829, allocations: 473.3 kB / 1.099 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.9842, allocations: 1.455 MB / 1.1 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.9846, allocations: 0.6867 MB / 1.101 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.289e-05/0.9847, allocations: 6.688 kB / 1.101 GB, free: 8.844 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.9847, allocations: 13.8 kB / 1.101 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.9847, allocations: 1 kB / 1.101 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/1.007, allocations: 2.711 MB / 1.103 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/8.531, allocations: 9.359 kB / 1.103 GB, free: 8.418 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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