Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008993/0.0008993, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008795/0.0008795, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8567/0.8567, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.706/1.706, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.423e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.00166/0.001674, allocations: 1.478 MB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009162/0.00259, allocations: 0.8566 MB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.002643, allocations: 7.938 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.002801, allocations: 35.72 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.878e-05/0.00282, allocations: 31.78 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.003176, allocations: 193.1 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.657e-05/0.003252, allocations: 51.67 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.003286, allocations: 7.938 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.645e-05/0.003362, allocations: 27.92 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.267e-05/0.003385, allocations: 11.98 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.003396, allocations: 0 / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002776/0.003674, allocations: 175.7 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.003684, allocations: 3.938 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.003703, allocations: 15.94 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.003873, allocations: 151.6 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003875, allocations: 0 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003876, allocations: 0 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.00388, allocations: 4 kB / 1.003 GB, free: 10.43 MB / 0.9636 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.0002515/0.004131, allocations: 301.9 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.004167, allocations: 12.75 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.004201, allocations: 106 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.004241, allocations: 80.22 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.004392, allocations: 204.9 kB / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.004426, allocations: 150.9 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.004461, allocations: 150.9 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.698e-05/0.004508, allocations: 109.5 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.004526, allocations: 79.45 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.004558, allocations: 162.6 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/0.00459, allocations: 154.6 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.827e-05/0.004628, allocations: 154.5 kB / 1.004 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.004814, allocations: 437 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.558e-05/0.004869, allocations: 169.1 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.00489, allocations: 80.14 kB / 1.005 GB, free: 8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.004909, allocations: 75.28 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.004939, allocations: 109.8 kB / 1.005 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 5.61e-07/0.004939, allocations: 0 / 1.005 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.757e-05/0.004997, allocations: 41.58 kB / 1.005 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.005035, allocations: 130.7 kB / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.00513, allocations: 135.6 kB / 1.005 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.00514, allocations: 25.7 kB / 1.005 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.005175, allocations: 92.14 kB / 1.005 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.005177, allocations: 0 / 1.005 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.005201, allocations: 17.7 kB / 1.005 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.99e-05/0.005271, allocations: 318.8 kB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.005286, allocations: 0 / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/0.005297, allocations: 8 kB / 1.006 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.005323, allocations: 12.84 kB / 1.006 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005325, allocations: 0 / 1.006 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.899e-05/0.005414, allocations: 57.69 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.005425, allocations: 7.938 kB / 1.006 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.005441, allocations: 3.938 kB / 1.006 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.005452, allocations: 3.938 kB / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-06/0.005454, allocations: 7.984 kB / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.005459, allocations: 0 / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/0.005472, allocations: 0 / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.005477, allocations: 0 / 1.006 GB, free: 6.902 MB / 0.9636 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 6.05e-05/0.005538, allocations: 185.1 kB / 1.006 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.005572, allocations: 112.9 kB / 1.006 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.005602, allocations: 116.7 kB / 1.006 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.652e-05/0.005638, allocations: 184.2 kB / 1.006 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.829e-05/0.005677, allocations: 180.3 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.612e-05/0.005713, allocations: 180.2 kB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.005841, allocations: 384.3 kB / 1.007 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.005861, allocations: 108.9 kB / 1.007 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.005885, allocations: 109 kB / 1.007 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.949e-05/0.005924, allocations: 176.3 kB / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.005962, allocations: 184.1 kB / 1.008 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-05/0.005998, allocations: 184.3 kB / 1.008 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.404e-05/0.006032, allocations: 180.2 kB / 1.008 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.726e-05/0.006109, allocations: 311.8 kB / 1.008 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.488e-05/0.006134, allocations: 104.9 kB / 1.008 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.00624, allocations: 188.2 kB / 1.009 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.613e-05/0.006286, allocations: 109.2 kB / 1.009 GB, free: 3.785 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.006325, allocations: 180.3 kB / 1.009 GB, free: 3.602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.006349, allocations: 101 kB / 1.009 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.006386, allocations: 101.1 kB / 1.009 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006386, allocations: 0 / 1.009 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001724/0.006559, allocations: 43.8 kB / 1.009 GB, free: 3.355 MB / 0.9636 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.0003547/0.006913, allocations: 0.8594 MB / 1.01 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.47e-05/0.006988, allocations: 41.64 kB / 1.01 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.00699, allocations: 0 / 1.01 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.006992, allocations: 3.938 kB / 1.01 GB, free: 2.418 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.007286, allocations: 467.7 kB / 1.01 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008112/0.008097, allocations: 1.453 MB / 1.012 GB, free: 432 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.902e-05/0.008136, allocations: 71.42 kB / 1.012 GB, free: 340 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.761e-05/0.008154, allocations: 4 kB / 1.012 GB, free: 336 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.008178, allocations: 16.48 kB / 1.012 GB, free: 320 kB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.008178, allocations: 0 / 1.012 GB, free: 320 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.02636, allocations: 3.447 MB / 1.015 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/7.277, allocations: 0 / 1.015 GB, free: 13.06 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.184831910766661]