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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007257/0.0007257, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.004048/0.004048, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.251/1.251, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.199/2.199, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003118, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5592/0.5595, allocations: 142.4 MB / 0.9552 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001103/0.5606, allocations: 1.194 MB / 0.9563 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009349/0.5616, allocations: 0.9104 MB / 0.9572 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.5616, allocations: 2.156 kB / 0.9572 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.5618, allocations: 41.52 kB / 0.9573 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.101e-05/0.5618, allocations: 18.25 kB / 0.9573 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.5622, allocations: 172 kB / 0.9575 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.78e-05/0.5623, allocations: 47.73 kB / 0.9575 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.839e-05/0.5623, allocations: 2.938 kB / 0.9575 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.874e-05/0.5623, allocations: 20.09 kB / 0.9575 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.582e-05/0.5624, allocations: 15.05 kB / 0.9575 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.146e-06/0.5624, allocations: 0 / 0.9575 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.5626, allocations: 147.6 kB / 0.9577 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.5626, allocations: 9.156 kB / 0.9577 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.5627, allocations: 40.52 kB / 0.9577 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.5628, allocations: 131.1 kB / 0.9579 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5628, allocations: 0 / 0.9579 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5628, allocations: 0 / 0.9579 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.5629, allocations: 0 / 0.9579 GB, free: 5.543 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002054/0.5631, allocations: 359.5 kB / 0.9582 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.5631, allocations: 9.562 kB / 0.9582 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.368e-05/0.5631, allocations: 115.2 kB / 0.9583 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.5632, allocations: 94.42 kB / 0.9584 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.5633, allocations: 259.5 kB / 0.9587 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.5633, allocations: 152.1 kB / 0.9588 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.5633, allocations: 152.1 kB / 0.9589 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.897e-05/0.5634, allocations: 105.1 kB / 0.959 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5634, allocations: 80.5 kB / 0.9591 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.5634, allocations: 150.6 kB / 0.9593 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.5634, allocations: 154.6 kB / 0.9594 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.681e-05/0.5635, allocations: 155.9 kB / 0.9596 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.5636, allocations: 469.2 kB / 0.96 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.168e-05/0.5637, allocations: 166.2 kB / 0.9602 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.191e-05/0.5637, allocations: 84.14 kB / 0.9602 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.5637, allocations: 75.28 kB / 0.9603 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.5637, allocations: 115 kB / 0.9604 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.5637, allocations: 0 / 0.9604 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.266e-05/0.5638, allocations: 36.42 kB / 0.9605 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.5638, allocations: 128.2 kB / 0.9606 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.79e-05/0.5639, allocations: 136.6 kB / 0.9607 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-06/0.5639, allocations: 25.7 kB / 0.9607 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.5639, allocations: 91.61 kB / 0.9608 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.5639, allocations: 0 / 0.9608 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.564, allocations: 14.98 kB / 0.9608 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.339e-05/0.564, allocations: 316.8 kB / 0.9611 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.564, allocations: 3.844 kB / 0.9611 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.109e-05/0.564, allocations: 5.938 kB / 0.9612 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.631e-05/0.5641, allocations: 18.75 kB / 0.9612 GB, free: 2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5641, allocations: 3.938 kB / 0.9612 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.827e-05/0.5642, allocations: 49.11 kB / 0.9612 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.5642, allocations: 6.031 kB / 0.9612 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.5642, allocations: 1.781 kB / 0.9612 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.5642, allocations: 0 / 0.9612 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.644e-06/0.5642, allocations: 3.984 kB / 0.9612 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.5642, allocations: 0 / 0.9612 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.862e-05/0.5642, allocations: 9.625 kB / 0.9612 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.5643, allocations: 1.531 kB / 0.9612 GB, free: 1.941 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 (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 4.546e-05/0.5643, allocations: 190.9 kB / 0.9614 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.5643, allocations: 114.5 kB / 0.9615 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.946e-05/0.5644, allocations: 111.2 kB / 0.9616 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.5644, allocations: 181.2 kB / 0.9618 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/0.5644, allocations: 181.3 kB / 0.962 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.5644, allocations: 185.5 kB / 0.9622 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.5645, allocations: 416.1 kB / 0.9626 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.5646, allocations: 108.9 kB / 0.9627 GB, free: 400 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.5646, allocations: 106.6 kB / 0.9628 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/0.5646, allocations: 181.8 kB / 0.9629 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.5647, allocations: 184.3 kB / 0.9631 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.784e-05/0.5647, allocations: 185.8 kB / 0.9633 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.37e-05/0.5648, allocations: 177.7 kB / 0.9635 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.5649, allocations: 308.3 kB / 0.9638 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.5649, allocations: 188.8 kB / 0.9639 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.565, allocations: 185.8 kB / 0.9641 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.5651, allocations: 105 kB / 0.9642 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.5651, allocations: 181.7 kB / 0.9644 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.5652, allocations: 104.9 kB / 0.9645 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.973e-05/0.5652, allocations: 103.2 kB / 0.9646 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5652, allocations: 1.375 kB / 0.9646 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002362/0.5655, allocations: 36.08 kB / 0.9646 GB, free: 14.33 MB / 0.7325 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.0004237/0.5659, allocations: 0.8531 MB / 0.9655 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.755e-05/0.566, allocations: 41.36 kB / 0.9655 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.566, allocations: 0 / 0.9655 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.566, allocations: 0 / 0.9655 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.5664, allocations: 0.5327 MB / 0.966 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009534/0.5673, allocations: 1.48 MB / 0.9675 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.5675, allocations: 0.6851 MB / 0.9681 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.614e-05/0.5676, allocations: 1.375 kB / 0.9681 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.5676, allocations: 16.8 kB / 0.9681 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.5676, allocations: 0 / 0.9681 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.235/2.802, allocations: 2.508 MB / 0.9706 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/2.802, allocations: 243.6 kB / 0.9708 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.825/5.627, allocations: 4 kB / 0.9708 GB, free: 9.324 MB / 0.7325 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