Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001036/0.001036, 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.0009471/0.0009471, allocations: 169.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.8745/0.8745, 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.749/1.749, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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.SingleUTubeResistances,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.282e-05, allocations: 2.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001865/0.001888, allocations: 1.482 MB / 0.9824 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009795/0.002867, allocations: 0.8566 MB / 0.9833 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.097e-05/0.002928, allocations: 3.938 kB / 0.9833 GB, free: 204 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.003117, allocations: 43.77 kB / 0.9833 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 1.66e-05/0.003134, allocations: 15.84 kB / 0.9833 GB, free: 144 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.003619, allocations: 203.8 kB / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 8.13e-05/0.0037, allocations: 51.67 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.003739, allocations: 7.938 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.00382, allocations: 23.97 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.535e-05/0.003846, allocations: 15.94 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.003859, allocations: 0 / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.004152, allocations: 167.8 kB / 0.9838 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.004164, allocations: 7.922 kB / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.004184, allocations: 12 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.004371, allocations: 163.3 kB / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.004373, allocations: 0 / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004374, allocations: 0 / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.004378, allocations: 0 / 0.984 GB, free: 15.5 MB / 0.948 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.0002882/0.004666, allocations: 293.9 kB / 0.9842 GB, free: 15.19 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.004711, allocations: 12.03 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.004751, allocations: 110 kB / 0.9843 GB, free: 15.06 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.0048, allocations: 80.17 kB / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.005026, allocations: 205 kB / 0.9846 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.005071, allocations: 154.9 kB / 0.9848 GB, free: 14.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.005111, allocations: 150.9 kB / 0.9849 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.297e-05/0.005164, allocations: 101.5 kB / 0.985 GB, free: 14.35 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.005184, allocations: 75.47 kB / 0.9851 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.005226, allocations: 162.7 kB / 0.9852 GB, free: 14.11 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.005264, allocations: 154.5 kB / 0.9854 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.886e-05/0.005302, allocations: 154.6 kB / 0.9855 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.005514, allocations: 436.9 kB / 0.9859 GB, free: 13.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.693e-05/0.005581, allocations: 173.1 kB / 0.9861 GB, free: 13.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.52e-05/0.005607, allocations: 80.14 kB / 0.9862 GB, free: 13.08 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.005631, allocations: 83.16 kB / 0.9863 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.005665, allocations: 113.8 kB / 0.9864 GB, free: 12.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.005666, allocations: 0 / 0.9864 GB, free: 12.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.938e-05/0.005725, allocations: 29.64 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.005866, allocations: 130.7 kB / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.005976, allocations: 132.3 kB / 0.9867 GB, free: 12.56 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.005985, allocations: 25.7 kB / 0.9867 GB, free: 12.53 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.006026, allocations: 104 kB / 0.9868 GB, free: 12.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.006028, allocations: 0 / 0.9868 GB, free: 12.43 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.006055, allocations: 17.72 kB / 0.9868 GB, free: 12.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.656e-05/0.006132, allocations: 314.8 kB / 0.9871 GB, free: 12.09 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.006151, allocations: 8 kB / 0.9871 GB, free: 12.08 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.006163, allocations: 7.938 kB / 0.9871 GB, free: 12.07 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.239e-05/0.006196, allocations: 16.89 kB / 0.9871 GB, free: 12.05 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.006198, allocations: 0 / 0.9871 GB, free: 12.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.863e-05/0.006297, allocations: 41.69 kB / 0.9872 GB, free: 12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.00631, allocations: 8 kB / 0.9872 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.006328, allocations: 8 kB / 0.9872 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.00634, allocations: 0 / 0.9872 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.006342, allocations: 0 / 0.9872 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.006346, allocations: 0 / 0.9872 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.491e-05/0.006361, allocations: 7.953 kB / 0.9872 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.006368, allocations: 0 / 0.9872 GB, free: 11.98 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: 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 7.199e-05/0.00644, allocations: 185.7 kB / 0.9874 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.006478, allocations: 112.9 kB / 0.9875 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.006513, allocations: 116.7 kB / 0.9876 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.104e-05/0.006554, allocations: 184.2 kB / 0.9878 GB, free: 11.37 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-05/0.006598, allocations: 184.3 kB / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.99e-05/0.006638, allocations: 180.3 kB / 0.9881 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.006783, allocations: 388.2 kB / 0.9885 GB, free: 10.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/0.006806, allocations: 105 kB / 0.9886 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.00683, allocations: 104.9 kB / 0.9887 GB, free: 10.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.806e-05/0.006868, allocations: 180.3 kB / 0.9889 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.006907, allocations: 180.2 kB / 0.989 GB, free: 9.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.275e-05/0.00695, allocations: 184.2 kB / 0.9892 GB, free: 9.793 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.966e-05/0.00699, allocations: 180.3 kB / 0.9894 GB, free: 9.609 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.544e-05/0.007085, allocations: 303.8 kB / 0.9897 GB, free: 9.289 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.007122, allocations: 108.9 kB / 0.9898 GB, free: 9.176 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.007176, allocations: 196.1 kB / 0.99 GB, free: 8.977 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/0.007225, allocations: 105.3 kB / 0.9901 GB, free: 8.867 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.00727, allocations: 180.2 kB / 0.9902 GB, free: 8.684 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.007299, allocations: 113 kB / 0.9903 GB, free: 8.566 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.101e-05/0.00735, allocations: 109 kB / 0.9904 GB, free: 8.461 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00735, allocations: 3.938 kB / 0.9904 GB, free: 8.457 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001836/0.007533, allocations: 35.88 kB / 0.9905 GB, free: 8.422 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 (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.0003945/0.007928, allocations: 0.8554 MB / 0.9913 GB, free: 7.535 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.797e-05/0.008016, allocations: 45.62 kB / 0.9914 GB, free: 7.484 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.008018, allocations: 8.062 kB / 0.9914 GB, free: 7.477 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.008019, allocations: 0 / 0.9914 GB, free: 7.477 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.008357, allocations: 459.7 kB / 0.9918 GB, free: 7.023 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009467/0.009304, allocations: 1.461 MB / 0.9932 GB, free: 5.48 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.771e-05/0.009352, allocations: 67.58 kB / 0.9933 GB, free: 5.395 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.591e-05/0.009377, allocations: 12.03 kB / 0.9933 GB, free: 5.383 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.009411, allocations: 12.5 kB / 0.9933 GB, free: 5.371 MB / 0.948 GB Notification: Performance of SimCode: time 8.52e-07/0.009412, allocations: 0 / 0.9933 GB, free: 5.371 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.02767, allocations: 3.463 MB / 0.9967 GB, free: 2.086 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/7.466, allocations: 4.453 kB / 0.9967 GB, free: 2.086 MB / 0.948 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.549137600697577]