Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008314/0.0008314, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00111/0.00111, allocations: 165.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.8771/0.8771, allocations: 177.2 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.781/1.781, allocations: 389 MB / 0.633 GB, free: 12.71 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.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.425e-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.ExchangeValues): time 0.001763/0.001788, allocations: 0.5508 MB / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002402/0.002028, allocations: 111.6 kB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.002055, allocations: 0 / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.002157, allocations: 11.92 kB / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.002208, allocations: 0 / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.002358, allocations: 35.84 kB / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.871e-05/0.002457, allocations: 23.98 kB / 1 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.002506, allocations: 0 / 1 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.812e-05/0.002554, allocations: 27.97 kB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.002616, allocations: 11.98 kB / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.002634, allocations: 0 / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.00268, allocations: 12 kB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.002693, allocations: 3.938 kB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.002726, allocations: 15.97 kB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.002845, allocations: 31.95 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.002848, allocations: 0 / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.123e-06/0.002849, allocations: 0 / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.002853, allocations: 0 / 1 GB, free: 12.66 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003191/0.003172, allocations: 280 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.003216, allocations: 12.75 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.00325, allocations: 34.75 kB / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.003282, allocations: 4.938 kB / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.003386, allocations: 113.7 kB / 1.001 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.003398, allocations: 4.375 kB / 1.001 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.003411, allocations: 4.375 kB / 1.001 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.00354, allocations: 79.92 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.003548, allocations: 192 / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.003559, allocations: 4.375 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.003565, allocations: 4.125 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.772e-05/0.003613, allocations: 41.69 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.003745, allocations: 120.8 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.654e-05/0.003821, allocations: 60.23 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.003866, allocations: 42.61 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.003874, allocations: 3.938 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.003899, allocations: 30.56 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.0039, allocations: 4 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0002552/0.004155, allocations: 162.7 kB / 1.001 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.004201, allocations: 85.05 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.411e-05/0.004265, allocations: 97.98 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.004279, allocations: 33.64 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.004306, allocations: 80.14 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.00433, allocations: 4 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.00438, allocations: 25.7 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.538e-05/0.004475, allocations: 310.8 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.565e-05/0.004521, allocations: 41.62 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.487e-05/0.004576, allocations: 45.69 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.674e-05/0.004652, allocations: 76.27 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.004654, allocations: 4.188 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000144/0.004798, allocations: 125.1 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.004831, allocations: 29.7 kB / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.004836, allocations: 0 / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.004851, allocations: 3.984 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.637e-06/0.004855, allocations: 7.875 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.004859, allocations: 4 kB / 1.002 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.004976, allocations: 4 kB / 1.002 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.004989, allocations: 4 kB / 1.002 GB, free: 10.41 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: 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.949e-05/0.005078, allocations: 139.5 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.005094, allocations: 11.98 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.486e-05/0.005108, allocations: 7.156 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.005111, allocations: 0 / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.005116, allocations: 3.938 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.005118, allocations: 0 / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.395e-05/0.005202, allocations: 120.8 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.005204, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-06/0.005206, allocations: 4 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005208, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.005217, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.005219, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.005222, allocations: 11.94 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.005385, allocations: 152.5 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-06/0.005391, allocations: 0 / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.005407, allocations: 7.922 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.005483, allocations: 8 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.005499, allocations: 3.938 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.005506, allocations: 4 kB / 1.003 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.347e-05/0.00554, allocations: 79.28 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.00554, allocations: 0 / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002285/0.005768, allocations: 20.11 kB / 1.003 GB, free: 9.758 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 (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.000519/0.006287, allocations: 0.6984 MB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.006443, allocations: 138.7 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.006445, allocations: 0 / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/0.006506, allocations: 97.09 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.006672, allocations: 14.12 kB / 1.004 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.007119, allocations: 169.9 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.06e-05/0.007169, allocations: 63.33 kB / 1.004 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.007277, allocations: 4 kB / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.0073, allocations: 8.5 kB / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.0073, allocations: 0 / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.0237, allocations: 2.652 MB / 1.007 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.616/6.64, allocations: 3.984 kB / 1.007 GB, free: 5.945 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.691748853772879]