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.001294/0.001294, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001298/0.001298, allocations: 189 kB / 16.25 MB, free: 6.152 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.305/1.305, allocations: 222.9 MB / 239.9 MB, free: 4.406 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.208/2.208, allocations: 390.3 MB / 0.6644 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 71.88 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5094, allocations: 140.4 MB / 0.9493 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002097/0.5115, allocations: 1.518 MB / 0.9507 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000918/0.5124, allocations: 0.9038 MB / 0.9516 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.5125, allocations: 6.812 kB / 0.9516 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.5127, allocations: 37.16 kB / 0.9517 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.464e-05/0.5127, allocations: 26.62 kB / 0.9517 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.5131, allocations: 175.2 kB / 0.9519 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.39e-05/0.5132, allocations: 51.83 kB / 0.9519 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.5132, allocations: 6.875 kB / 0.9519 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.261e-05/0.5133, allocations: 20.77 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.475e-05/0.5133, allocations: 14.25 kB / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/0.5133, allocations: 1.375 kB / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.5136, allocations: 151.2 kB / 0.9521 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.5136, allocations: 5.75 kB / 0.9521 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.5136, allocations: 18.31 kB / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.5138, allocations: 122.9 kB / 0.9522 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5138, allocations: 0 / 0.9522 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5138, allocations: 5.188 kB / 0.9522 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.5138, allocations: 4 kB / 0.9522 GB, free: 6.895 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.0002327/0.5141, allocations: 370.3 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.5141, allocations: 9.656 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.551e-05/0.5141, allocations: 111.2 kB / 0.9527 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.5142, allocations: 81.59 kB / 0.9528 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.5143, allocations: 261.5 kB / 0.953 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.5143, allocations: 152 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.5144, allocations: 154.9 kB / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.245e-05/0.5144, allocations: 106.3 kB / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5144, allocations: 79.22 kB / 0.9535 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.5144, allocations: 159.8 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.5144, allocations: 150.6 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.779e-05/0.5145, allocations: 159.7 kB / 0.9539 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.5146, allocations: 461.2 kB / 0.9544 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.519e-05/0.5147, allocations: 170.6 kB / 0.9546 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.347e-05/0.5147, allocations: 84.08 kB / 0.9546 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.5147, allocations: 79.28 kB / 0.9547 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.5147, allocations: 111.2 kB / 0.9548 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.5147, allocations: 0 / 0.9548 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.511e-05/0.5148, allocations: 32.17 kB / 0.9548 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.5148, allocations: 127.8 kB / 0.955 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.112e-05/0.5149, allocations: 131.3 kB / 0.9551 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-06/0.5149, allocations: 25.7 kB / 0.9551 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.515, allocations: 98.81 kB / 0.9552 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.515, allocations: 0 / 0.9552 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.515, allocations: 13.72 kB / 0.9552 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.609e-05/0.515, allocations: 321.5 kB / 0.9555 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.5151, allocations: 6.5 kB / 0.9555 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/0.5151, allocations: 6.594 kB / 0.9555 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.623e-05/0.5151, allocations: 9.703 kB / 0.9556 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5151, allocations: 0 / 0.9556 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.119e-05/0.5152, allocations: 54 kB / 0.9556 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.5152, allocations: 11.94 kB / 0.9556 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.5153, allocations: 1.344 kB / 0.9556 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.5153, allocations: 3.938 kB / 0.9556 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.5153, allocations: 1.562 kB / 0.9556 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.5153, allocations: 3.984 kB / 0.9556 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.5153, allocations: 1.469 kB / 0.9556 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.5153, allocations: 0 / 0.9556 GB, free: 3.297 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.446e-05/0.5154, allocations: 187.8 kB / 0.9558 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.5154, allocations: 119.7 kB / 0.9559 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.5154, allocations: 114 kB / 0.956 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.5154, allocations: 181.3 kB / 0.9562 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/0.5155, allocations: 181.5 kB / 0.9564 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.5155, allocations: 181.5 kB / 0.9565 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.5156, allocations: 423.7 kB / 0.957 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.5156, allocations: 110.4 kB / 0.9571 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-05/0.5156, allocations: 104.9 kB / 0.9572 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-05/0.5157, allocations: 178.1 kB / 0.9573 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.5157, allocations: 185.6 kB / 0.9575 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787e-05/0.5157, allocations: 184.2 kB / 0.9577 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.817e-05/0.5157, allocations: 182 kB / 0.9579 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.192e-05/0.5158, allocations: 308.4 kB / 0.9581 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.5158, allocations: 196.5 kB / 0.9583 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.5159, allocations: 177.4 kB / 0.9585 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.13e-05/0.5159, allocations: 101.9 kB / 0.9586 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.516, allocations: 185.1 kB / 0.9588 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.516, allocations: 102 kB / 0.9589 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.358e-05/0.5161, allocations: 104.9 kB / 0.959 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5161, allocations: 0 / 0.959 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002526/0.5164, allocations: 32.72 kB / 0.959 GB, free: 15.68 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.0004718/0.5168, allocations: 0.85 MB / 0.9598 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.818e-05/0.5169, allocations: 36.52 kB / 0.9599 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5169, allocations: 0 / 0.9599 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.5169, allocations: 0 / 0.9599 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.5174, allocations: 469.2 kB / 0.9603 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.5184, allocations: 1.475 MB / 0.9618 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.5187, allocations: 0.6884 MB / 0.9624 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.656e-05/0.5187, allocations: 5.625 kB / 0.9624 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.5187, allocations: 12.97 kB / 0.9624 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.5187, allocations: 1.594 kB / 0.9624 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.535, allocations: 2.616 MB / 0.965 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/0.5351, allocations: 250.1 kB / 0.9652 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.271, allocations: 0 / 0.9652 GB, free: 10.67 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