Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.0008503/0.0008503, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0008476/0.0008476, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8865/0.8865, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.652/1.652, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.ConvectionResistance,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 3.938 kB / 0.9505 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.083e-05, allocations: 4.812 kB / 0.9505 GB, free: 2.32 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001599/0.001619, allocations: 1.309 MB / 0.9518 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002909/0.004529, allocations: 3.531 MB / 0.9552 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.004555, allocations: 0 / 0.9552 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.004572, allocations: 3.938 kB / 0.9553 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.004971, allocations: 107.4 kB / 0.9554 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.005183, allocations: 131.5 kB / 0.9555 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.005245, allocations: 27.86 kB / 0.9555 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.301e-05/0.005278, allocations: 3.984 kB / 0.9555 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.005378, allocations: 31.84 kB / 0.9555 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.005452, allocations: 39.89 kB / 0.9556 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.005463, allocations: 0 / 0.9556 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.005763, allocations: 299.5 kB / 0.9559 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.005773, allocations: 3.938 kB / 0.9559 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.005793, allocations: 8 kB / 0.9559 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.005979, allocations: 155.5 kB / 0.956 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005982, allocations: 0 / 0.956 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.432e-06/0.005983, allocations: 0 / 0.956 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.005988, allocations: 0 / 0.956 GB, free: 12.65 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003286/0.006317, allocations: 278 kB / 0.9563 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.006358, allocations: 8.031 kB / 0.9563 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.915e-05/0.006387, allocations: 34.75 kB / 0.9563 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.292e-05/0.00641, allocations: 12.89 kB / 0.9563 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.444e-05/0.006484, allocations: 109.7 kB / 0.9564 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.006494, allocations: 384 / 0.9564 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.006501, allocations: 4.375 kB / 0.9564 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.006697, allocations: 30.27 kB / 0.9565 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.006705, allocations: 4.172 kB / 0.9565 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.006713, allocations: 3.938 kB / 0.9565 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.006718, allocations: 0 / 0.9565 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.393e-05/0.006752, allocations: 8 kB / 0.9565 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.006869, allocations: 116.8 kB / 0.9566 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.219e-05/0.006921, allocations: 38.53 kB / 0.9566 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.006937, allocations: 4.859 kB / 0.9566 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.007097, allocations: 20.05 kB / 0.9567 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.007117, allocations: 34.56 kB / 0.9567 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.007118, allocations: 0 / 0.9567 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001292/0.007248, allocations: 53.52 kB / 0.9567 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.007275, allocations: 51.41 kB / 0.9568 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.007334, allocations: 109.9 kB / 0.9569 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.007343, allocations: 25.7 kB / 0.9569 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.007371, allocations: 84.12 kB / 0.957 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.007393, allocations: 4 kB / 0.957 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.007418, allocations: 17.67 kB / 0.957 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.007492, allocations: 310.8 kB / 0.9573 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.007505, allocations: 8.25 kB / 0.9573 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-06/0.007515, allocations: 4 kB / 0.9573 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.714e-05/0.007542, allocations: 12.86 kB / 0.9573 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007544, allocations: 0 / 0.9573 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.155e-05/0.007595, allocations: 49.75 kB / 0.9574 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.007609, allocations: 4 kB / 0.9574 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.007614, allocations: 3.938 kB / 0.9574 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.007625, allocations: 3.938 kB / 0.9574 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.114e-05/0.007676, allocations: 4 kB / 0.9574 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.007681, allocations: 3.938 kB / 0.9574 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.076e-05/0.007692, allocations: 0 / 0.9574 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.007696, allocations: 0 / 0.9574 GB, free: 11.03 MB / 0.8698 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 5.39e-05/0.00775, allocations: 113.8 kB / 0.9575 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-06/0.007753, allocations: 32 / 0.9575 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.518e-05/0.007849, allocations: 52.95 kB / 0.9576 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.007852, allocations: 3.984 kB / 0.9576 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.007856, allocations: 0 / 0.9576 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.007858, allocations: 0 / 0.9576 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.749e-05/0.007926, allocations: 120.8 kB / 0.9577 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.007928, allocations: 3.984 kB / 0.9577 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.007942, allocations: 4 kB / 0.9577 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.007945, allocations: 3.984 kB / 0.9577 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.007954, allocations: 7.938 kB / 0.9577 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.007956, allocations: 7.969 kB / 0.9577 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007956, allocations: 0 / 0.9577 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.43e-05/0.008011, allocations: 65.09 kB / 0.9578 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.008028, allocations: 3.984 kB / 0.9578 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.008037, allocations: 7.875 kB / 0.9578 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-06/0.008046, allocations: 4 kB / 0.9578 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.00806, allocations: 4 kB / 0.9578 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-06/0.008062, allocations: 0 / 0.9578 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.703e-05/0.008089, allocations: 79.28 kB / 0.9579 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.008089, allocations: 0 / 0.9579 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001474/0.008236, allocations: 35.89 kB / 0.9579 GB, free: 10.45 MB / 0.8698 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 (2): * Single equations (assignments): 2 * 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.0003209/0.008557, allocations: 0.628 MB / 0.9585 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.655e-05/0.008624, allocations: 15.94 kB / 0.9585 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008625, allocations: 0 / 0.9585 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.293e-06/0.008633, allocations: 7.984 kB / 0.9585 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.008814, allocations: 4.125 kB / 0.9586 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.009115, allocations: 153.1 kB / 0.9587 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.677e-05/0.009152, allocations: 63.34 kB / 0.9588 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.017e-05/0.009172, allocations: 3.938 kB / 0.9588 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.009197, allocations: 16.5 kB / 0.9588 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of SimCode: time 6.92e-07/0.009198, allocations: 0 / 0.9588 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.02564, allocations: 2.309 MB / 0.961 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/7.315, allocations: 4 kB / 0.961 GB, free: 7.328 MB / 0.8698 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.186686845496297]