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.007988/0.007988, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001617/0.001618, allocations: 202.1 kB / 16.68 MB, free: 5.926 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.212/2.212, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.798/0.8, 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.002374/0.8025, allocations: 1.488 MB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.8037, allocations: 0.8945 MB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.8038, allocations: 5.281 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.804, allocations: 47.8 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.198e-05/0.8041, allocations: 24.89 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.8047, allocations: 191 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.422e-05/0.8048, allocations: 51.62 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.8048, allocations: 4.344 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.763e-05/0.8049, allocations: 19.78 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.856e-05/0.8049, allocations: 15.61 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.8049, allocations: 5.219 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.8053, allocations: 168.6 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.8053, allocations: 6.781 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.8054, allocations: 19.8 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.8056, allocations: 125.4 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8056, allocations: 0 / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8056, allocations: 1.062 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.8056, allocations: 0 / 1.09 GB, free: 3.375 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.0003079/0.8059, allocations: 365.3 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.806, allocations: 10.12 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.858e-05/0.806, allocations: 106.8 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.8061, allocations: 83.25 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.8063, allocations: 265.7 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.8063, allocations: 151.5 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.8064, allocations: 156.2 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.978e-05/0.8064, allocations: 110.9 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.8064, allocations: 75.28 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.8064, allocations: 154.6 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.8065, allocations: 152.4 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.05e-05/0.8065, allocations: 154.5 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.8067, allocations: 469.4 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.289e-05/0.8067, allocations: 173.1 kB / 1.093 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.8068, allocations: 89.42 kB / 1.093 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.8068, allocations: 76.03 kB / 1.093 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.962e-05/0.8069, allocations: 111.3 kB / 1.093 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.8069, allocations: 0 / 1.093 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.195e-05/0.8069, allocations: 32.8 kB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.807, allocations: 132.4 kB / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.8071, allocations: 141.4 kB / 1.093 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.8072, allocations: 26.86 kB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.8072, allocations: 88.86 kB / 1.093 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-06/0.8072, allocations: 0 / 1.093 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.8073, allocations: 20.33 kB / 1.093 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8074, allocations: 317.9 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.8074, allocations: 3.344 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.761e-05/0.8074, allocations: 6.969 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.8075, allocations: 18.7 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8075, allocations: 0 / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000124/0.8076, allocations: 52.75 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.8076, allocations: 4.75 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.8076, allocations: 2.219 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.8076, allocations: 1.156 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/0.8077, allocations: 0.7031 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.8077, allocations: 0 / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.8077, allocations: 4.875 kB / 1.094 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.8077, allocations: 5.844 kB / 1.094 GB, free: 15.81 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 8.937e-05/0.8078, allocations: 185.2 kB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.439e-05/0.8079, allocations: 112.3 kB / 1.094 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.8079, allocations: 116.5 kB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-05/0.808, allocations: 177.1 kB / 1.094 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.316e-05/0.8081, allocations: 178.6 kB / 1.095 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.546e-05/0.8081, allocations: 193.6 kB / 1.095 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.8083, allocations: 417.7 kB / 1.095 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-05/0.8084, allocations: 110.4 kB / 1.095 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/0.8084, allocations: 102.2 kB / 1.095 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.655e-05/0.8085, allocations: 182.3 kB / 1.096 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/0.8086, allocations: 181.9 kB / 1.096 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.444e-05/0.8086, allocations: 177.7 kB / 1.096 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.369e-05/0.8087, allocations: 182.1 kB / 1.096 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.8088, allocations: 307.2 kB / 1.096 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.39e-05/0.8089, allocations: 189.7 kB / 1.097 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.809, allocations: 182.2 kB / 1.097 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.8091, allocations: 110.2 kB / 1.097 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.8092, allocations: 178 kB / 1.097 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.8092, allocations: 106.6 kB / 1.097 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.276e-05/0.8093, allocations: 97.88 kB / 1.097 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8093, allocations: 0 / 1.097 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003341/0.8096, allocations: 46.89 kB / 1.097 GB, free: 12.22 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.0005952/0.8102, allocations: 0.8499 MB / 1.098 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.8104, allocations: 41.56 kB / 1.098 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8104, allocations: 0.625 kB / 1.098 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.8104, allocations: 4.062 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.0004271/0.8108, allocations: 465.8 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.001244/0.8121, allocations: 1.468 MB / 1.1 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.8123, allocations: 0.6865 MB / 1.101 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.547e-05/0.8124, allocations: 2.766 kB / 1.101 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.8124, allocations: 13.67 kB / 1.101 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.8124, allocations: 0 / 1.101 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.8321, allocations: 2.718 MB / 1.103 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/8.402, allocations: 11.78 kB / 1.103 GB, free: 8.414 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