Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_10_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.001484/0.001484, 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.0019/0.0019, allocations: 197.9 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.89 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6065/0.6079, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003447/0.6114, allocations: 1.469 MB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.6128, allocations: 0.9189 MB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.6129, allocations: 4 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.6131, allocations: 43.77 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.6132, allocations: 19.95 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.6137, allocations: 187.4 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.01e-05/0.6138, allocations: 55.56 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.594e-05/0.6139, allocations: 7.891 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.614, allocations: 19.88 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.041e-05/0.6141, allocations: 19.86 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.6141, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.6145, allocations: 139.8 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.6146, allocations: 4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.6146, allocations: 15.88 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.6149, allocations: 133.9 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6149, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6149, allocations: 4 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.6149, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 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.0004025/0.6153, allocations: 368.9 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.6153, allocations: 8.031 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.379e-05/0.6154, allocations: 110 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.836e-05/0.6155, allocations: 88.12 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.6157, allocations: 255.5 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/0.6158, allocations: 154.9 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.022e-05/0.6158, allocations: 150.9 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.768e-05/0.6159, allocations: 109.1 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/0.6159, allocations: 75.28 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.884e-05/0.616, allocations: 158.5 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-05/0.6161, allocations: 154.5 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.913e-05/0.6161, allocations: 154.6 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.6165, allocations: 465.9 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.315e-05/0.6166, allocations: 165.1 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.6166, allocations: 80.14 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.6166, allocations: 79.28 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.607e-05/0.6167, allocations: 121.7 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.6167, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.807e-05/0.6168, allocations: 29.61 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.6169, allocations: 130.7 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.6171, allocations: 131.2 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.6171, allocations: 29.7 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.6172, allocations: 96.12 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-06/0.6172, allocations: 16 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.6172, allocations: 13.72 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.6174, allocations: 318.8 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.6175, allocations: 4 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/0.6175, allocations: 12 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.6175, allocations: 12.8 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6175, allocations: 32 / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001171/0.6177, allocations: 53.55 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.6177, allocations: 5.562 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.6177, allocations: 7.984 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.6177, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.6177, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.6177, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.6178, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.6178, allocations: 4 kB / 1.024 GB, free: 11.71 MB / 0.7794 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 0.0001087/0.6179, allocations: 189.2 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.618, allocations: 120.8 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.6181, allocations: 108.8 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.178e-05/0.6182, allocations: 184.2 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-05/0.6182, allocations: 176.3 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.518e-05/0.6183, allocations: 180.3 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.6185, allocations: 421.2 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.573e-05/0.6186, allocations: 108.9 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.6186, allocations: 105 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.275e-05/0.6187, allocations: 184.2 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.339e-05/0.6188, allocations: 184.3 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.945e-05/0.6188, allocations: 180.2 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.278e-05/0.6189, allocations: 184.2 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.6191, allocations: 315.6 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.109e-05/0.6192, allocations: 185.9 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/0.6193, allocations: 184.2 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.6194, allocations: 109 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.6195, allocations: 180.2 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.697e-05/0.6196, allocations: 101 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.263e-05/0.6197, allocations: 99.27 kB / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6197, allocations: 4 kB / 1.027 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000303/0.62, allocations: 35.92 kB / 1.027 GB, free: 8.023 MB / 0.7794 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.0007924/0.6208, allocations: 0.8573 MB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.52e-05/0.6209, allocations: 37.7 kB / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6209, allocations: 0 / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.6209, allocations: 0 / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.6214, allocations: 475.8 kB / 1.028 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.6228, allocations: 1.449 MB / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.6233, allocations: 0.6924 MB / 1.031 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.035e-05/0.6233, allocations: 0 / 1.031 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.6234, allocations: 11.44 kB / 1.031 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6234, allocations: 0 / 1.031 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9188/1.542, allocations: 2.704 MB / 1.033 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.05/10.59, allocations: 8.328 kB / 1.033 GB, free: 1.797 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches