Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.00087/0.00087, 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.0008884/0.0008884, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.8878/0.8878, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.688/1.688, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.ExchangeValues,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 3.938 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.414e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001723/0.001747, allocations: 0.5644 MB / 0.9815 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002647/0.002012, allocations: 95.75 kB / 0.9816 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.002042, allocations: 4 kB / 0.9816 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.002142, allocations: 7.922 kB / 0.9816 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.561e-05/0.002198, allocations: 3.938 kB / 0.9816 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.002338, allocations: 35.91 kB / 0.9817 GB, free: 1.867 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.641e-05/0.002434, allocations: 23.98 kB / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.00248, allocations: 0 / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.756e-05/0.002528, allocations: 23.97 kB / 0.9817 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.427e-05/0.002592, allocations: 15.98 kB / 0.9817 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.002614, allocations: 4 kB / 0.9817 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.43e-05/0.002658, allocations: 7.938 kB / 0.9817 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.002673, allocations: 4 kB / 0.9817 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.002708, allocations: 15.97 kB / 0.9818 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.002938, allocations: 35.89 kB / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.002941, allocations: 3.938 kB / 0.9818 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.382e-06/0.002942, allocations: 0 / 0.9818 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.002946, allocations: 0 / 0.9818 GB, free: 1.734 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003314/0.003278, allocations: 280.1 kB / 0.9821 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.003326, allocations: 16.03 kB / 0.9821 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.003364, allocations: 30.75 kB / 0.9821 GB, free: 1.367 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.003398, allocations: 4.938 kB / 0.9821 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.003504, allocations: 105.8 kB / 0.9822 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.003519, allocations: 4.375 kB / 0.9822 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.003532, allocations: 4.375 kB / 0.9822 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.003669, allocations: 79.92 kB / 0.9823 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.003677, allocations: 192 / 0.9823 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.003694, allocations: 4.375 kB / 0.9823 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.003701, allocations: 4.125 kB / 0.9823 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.003755, allocations: 49.62 kB / 0.9824 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.003893, allocations: 124.7 kB / 0.9825 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.037e-05/0.003973, allocations: 56.3 kB / 0.9825 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.004019, allocations: 42.62 kB / 0.9826 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.004028, allocations: 0 / 0.9826 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.004057, allocations: 34.56 kB / 0.9826 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.004058, allocations: 0 / 0.9826 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0003067/0.004365, allocations: 162.7 kB / 0.9828 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.004447, allocations: 85.05 kB / 0.9828 GB, free: 472 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.75e-05/0.004515, allocations: 105.9 kB / 0.9829 GB, free: 356 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.004529, allocations: 25.7 kB / 0.983 GB, free: 324 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.004557, allocations: 80.14 kB / 0.983 GB, free: 240 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.004584, allocations: 7.953 kB / 0.983 GB, free: 232 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.004628, allocations: 25.66 kB / 0.9831 GB, free: 200 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.004734, allocations: 310.8 kB / 0.9834 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-05/0.004783, allocations: 41.69 kB / 0.9834 GB, free: 15.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/0.004822, allocations: 37.69 kB / 0.9834 GB, free: 15.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.998e-05/0.004902, allocations: 84.25 kB / 0.9835 GB, free: 15.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.004904, allocations: 0 / 0.9835 GB, free: 15.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001433/0.005048, allocations: 125.2 kB / 0.9836 GB, free: 15.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.005079, allocations: 33.69 kB / 0.9837 GB, free: 15.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.005085, allocations: 0 / 0.9837 GB, free: 15.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.005098, allocations: 4 kB / 0.9837 GB, free: 15.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-06/0.0051, allocations: 3.938 kB / 0.9837 GB, free: 15.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.005105, allocations: 0 / 0.9837 GB, free: 15.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.005219, allocations: 4 kB / 0.9837 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.005235, allocations: 11.98 kB / 0.9837 GB, free: 15.49 MB / 0.948 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: 1 * 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 8.45e-05/0.00532, allocations: 135.5 kB / 0.9838 GB, free: 15.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.005338, allocations: 12.03 kB / 0.9838 GB, free: 15.33 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.939e-06/0.005348, allocations: 3.156 kB / 0.9838 GB, free: 15.33 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.00535, allocations: 0 / 0.9838 GB, free: 15.33 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.005355, allocations: 3.938 kB / 0.9838 GB, free: 15.33 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.005359, allocations: 4 kB / 0.9838 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.132e-05/0.00544, allocations: 120.8 kB / 0.984 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.005441, allocations: 0 / 0.984 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.005442, allocations: 0 / 0.984 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.005444, allocations: 0 / 0.984 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.005457, allocations: 8 kB / 0.984 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.005458, allocations: 0 / 0.984 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.00546, allocations: 7.938 kB / 0.984 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.005637, allocations: 152.4 kB / 0.9841 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.005643, allocations: 0 / 0.9841 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.00566, allocations: 7.938 kB / 0.9841 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.005741, allocations: 4 kB / 0.9841 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.005759, allocations: 7.938 kB / 0.9841 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.005769, allocations: 7.984 kB / 0.9841 GB, free: 14.94 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.852e-05/0.005807, allocations: 79.28 kB / 0.9842 GB, free: 14.86 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.005807, allocations: 0 / 0.9842 GB, free: 14.86 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002083/0.006016, allocations: 12.12 kB / 0.9842 GB, free: 14.85 MB / 0.948 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005019/0.006517, allocations: 0.7027 MB / 0.9849 GB, free: 14.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.006682, allocations: 138.7 kB / 0.9851 GB, free: 13.95 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.006684, allocations: 4 kB / 0.9851 GB, free: 13.95 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.256e-05/0.006746, allocations: 93.09 kB / 0.9851 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.006901, allocations: 18.67 kB / 0.9852 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.007306, allocations: 164.2 kB / 0.9853 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.86e-05/0.007394, allocations: 59.34 kB / 0.9854 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.247e-05/0.007487, allocations: 7.984 kB / 0.9854 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.007507, allocations: 8.5 kB / 0.9854 GB, free: 13.52 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.007508, allocations: 0 / 0.9854 GB, free: 13.52 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.02279, allocations: 2.651 MB / 0.988 GB, free: 11.02 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.775/6.798, allocations: 11.8 kB / 0.988 GB, free: 11.01 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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: 10.899761660024524]