Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 108.9 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.084/3.084, allocations: 497.2 MB / 0.7811 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ConvectionResistance,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 66.64 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3352, allocations: 173.9 MB / 1.304 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002411/0.3376, allocations: 1.282 MB / 1.305 GB, free: 264 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004613/0.3422, allocations: 3.786 MB / 1.309 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.3423, allocations: 0 / 1.309 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.3423, allocations: 4 kB / 1.309 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004703/0.3427, allocations: 99.48 kB / 1.309 GB, free: 12.35 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.3431, allocations: 135.2 kB / 1.309 GB, free: 12.22 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.952e-05/0.3432, allocations: 23.92 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.3432, allocations: 11.98 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.3433, allocations: 39.78 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.3435, allocations: 27.92 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3435, allocations: 4 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.3439, allocations: 307.6 kB / 1.31 GB, free: 11.81 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.437e-06/0.344, allocations: 0 / 1.31 GB, free: 11.81 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.344, allocations: 7.938 kB / 1.31 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.3442, allocations: 127.8 kB / 1.31 GB, free: 11.68 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3442, allocations: 0 / 1.31 GB, free: 11.68 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3442, allocations: 0 / 1.31 GB, free: 11.68 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3442, allocations: 4 kB / 1.31 GB, free: 11.68 MB / 1.014 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.0004334/0.3446, allocations: 363 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.3447, allocations: 12.92 kB / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.3447, allocations: 30.75 kB / 1.31 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.01e-05/0.3447, allocations: 0.9375 kB / 1.31 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.3449, allocations: 172.3 kB / 1.31 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3449, allocations: 4.375 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.3449, allocations: 384 / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.874e-05/0.345, allocations: 33.64 kB / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.345, allocations: 4 kB / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.345, allocations: 4 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.345, allocations: 0 / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.827e-05/0.345, allocations: 7.938 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.3452, allocations: 153.7 kB / 1.31 GB, free: 10.76 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.184e-05/0.3453, allocations: 18.61 kB / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.3453, allocations: 12.91 kB / 1.31 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.3455, allocations: 113 kB / 1.311 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3456, allocations: 30.56 kB / 1.311 GB, free: 10.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3456, allocations: 0 / 1.311 GB, free: 10.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.3457, allocations: 45.62 kB / 1.311 GB, free: 10.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.3458, allocations: 55.34 kB / 1.311 GB, free: 10.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.3459, allocations: 97.98 kB / 1.311 GB, free: 10.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.3459, allocations: 29.7 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.3459, allocations: 92.12 kB / 1.311 GB, free: 10.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.3459, allocations: 3.953 kB / 1.311 GB, free: 10.19 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.346, allocations: 13.72 kB / 1.311 GB, free: 10.17 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3461, allocations: 314.8 kB / 1.311 GB, free: 9.855 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.211e-05/0.3461, allocations: 0 / 1.311 GB, free: 9.855 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102e-05/0.3461, allocations: 4 kB / 1.311 GB, free: 9.852 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.3462, allocations: 12.92 kB / 1.311 GB, free: 9.836 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3462, allocations: 0 / 1.311 GB, free: 9.836 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.293e-05/0.3462, allocations: 53.56 kB / 1.311 GB, free: 9.777 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3462, allocations: 4 kB / 1.311 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3463, allocations: 3.938 kB / 1.311 GB, free: 9.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3463, allocations: 0 / 1.311 GB, free: 9.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.097e-05/0.3463, allocations: 4 kB / 1.311 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3463, allocations: 0 / 1.311 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.3463, allocations: 0 / 1.311 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3463, allocations: 4 kB / 1.311 GB, free: 9.762 MB / 1.014 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 7.856e-05/0.3464, allocations: 113.9 kB / 1.311 GB, free: 9.641 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.3464, allocations: 7.891 kB / 1.311 GB, free: 9.633 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.3465, allocations: 52.77 kB / 1.311 GB, free: 9.574 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3465, allocations: 3.984 kB / 1.311 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3466, allocations: 0 / 1.311 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3466, allocations: 0 / 1.311 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.3467, allocations: 149.7 kB / 1.312 GB, free: 9.375 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3467, allocations: 3.938 kB / 1.312 GB, free: 9.371 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-05/0.3467, allocations: 8.031 kB / 1.312 GB, free: 9.363 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3467, allocations: 0 / 1.312 GB, free: 9.363 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3467, allocations: 4.25 kB / 1.312 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3467, allocations: 4 kB / 1.312 GB, free: 9.355 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3467, allocations: 0 / 1.312 GB, free: 9.355 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.103e-05/0.3468, allocations: 65.12 kB / 1.312 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.3469, allocations: 88.98 kB / 1.312 GB, free: 9.168 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.3469, allocations: 4.031 kB / 1.312 GB, free: 9.164 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.345e-05/0.3469, allocations: 0 / 1.312 GB, free: 9.164 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.3469, allocations: 3.938 kB / 1.312 GB, free: 9.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.3469, allocations: 7.938 kB / 1.312 GB, free: 9.152 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.557e-05/0.3469, allocations: 83.27 kB / 1.312 GB, free: 9.07 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3469, allocations: 0 / 1.312 GB, free: 9.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002206/0.3472, allocations: 23.94 kB / 1.312 GB, free: 9.047 MB / 1.014 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.000487/0.3477, allocations: 0.6396 MB / 1.313 GB, free: 8.379 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.27e-05/0.3477, allocations: 15.92 kB / 1.313 GB, free: 8.363 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3477, allocations: 0 / 1.313 GB, free: 8.363 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.385e-05/0.3478, allocations: 8 kB / 1.313 GB, free: 8.355 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.348, allocations: 2.438 kB / 1.313 GB, free: 8.355 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.3484, allocations: 177.3 kB / 1.313 GB, free: 8.145 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.3487, allocations: 0.6805 MB / 1.313 GB, free: 7.438 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.515e-05/0.3487, allocations: 0 / 1.313 GB, free: 7.438 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.3488, allocations: 11.44 kB / 1.313 GB, free: 7.426 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.3488, allocations: 3.938 kB / 1.313 GB, free: 7.422 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.373, allocations: 1.672 MB / 1.315 GB, free: 5.902 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.159, allocations: 15.39 kB / 1.315 GB, free: 5.891 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.630730090197176]