Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008376/0.0008376, 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.0008668/0.0008668, 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.8739/0.8739, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.655/1.655, allocations: 359 MB / 0.6037 GB, free: 11.1 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.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.736e-06/2.736e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.096e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003615/0.003646, allocations: 1.489 MB / 0.952 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.005276, allocations: 0.8649 MB / 0.9528 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.005377, allocations: 3.938 kB / 0.9528 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.005641, allocations: 43.7 kB / 0.9529 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.552e-05/0.005666, allocations: 15.86 kB / 0.9529 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.006201, allocations: 191.4 kB / 0.9531 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.00632, allocations: 55.61 kB / 0.9531 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.006438, allocations: 11.97 kB / 0.9531 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.853e-05/0.006527, allocations: 19.98 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.438e-05/0.006551, allocations: 11.94 kB / 0.9531 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.006565, allocations: 0 / 0.9531 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.006926, allocations: 175.7 kB / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.006947, allocations: 7.938 kB / 0.9533 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.006977, allocations: 8 kB / 0.9533 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.007175, allocations: 163.5 kB / 0.9535 GB, free: 432 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.007179, allocations: 0 / 0.9535 GB, free: 432 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.734e-06/0.007181, allocations: 0 / 0.9535 GB, free: 432 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.007186, allocations: 0 / 0.9535 GB, free: 432 kB / 0.9011 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.0003269/0.007513, allocations: 293.9 kB / 0.9538 GB, free: 108 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.007555, allocations: 12.02 kB / 0.9538 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/0.007618, allocations: 110 kB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.007665, allocations: 80.17 kB / 0.954 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.007928, allocations: 207.6 kB / 0.9542 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.00797, allocations: 158.9 kB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.008008, allocations: 150.9 kB / 0.9545 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.655e-05/0.008065, allocations: 105.5 kB / 0.9546 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.008084, allocations: 75.47 kB / 0.9546 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.00812, allocations: 158.7 kB / 0.9548 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/0.008285, allocations: 150.6 kB / 0.9549 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.861e-05/0.008323, allocations: 150.6 kB / 0.9551 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.008559, allocations: 433 kB / 0.9555 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.598e-05/0.008645, allocations: 181.1 kB / 0.9556 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.704e-05/0.008672, allocations: 80.14 kB / 0.9557 GB, free: 14 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.008693, allocations: 75.28 kB / 0.9558 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.00873, allocations: 105.8 kB / 0.9559 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.008731, allocations: 4 kB / 0.9559 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 7.339e-05/0.008805, allocations: 37.53 kB / 0.9559 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.008858, allocations: 126.7 kB / 0.9561 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.009002, allocations: 133.8 kB / 0.9562 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.009015, allocations: 25.7 kB / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.009066, allocations: 104 kB / 0.9563 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.009068, allocations: 0 / 0.9563 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.009099, allocations: 21.72 kB / 0.9563 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.816e-05/0.009187, allocations: 318.8 kB / 0.9566 GB, free: 13 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.009209, allocations: 4 kB / 0.9566 GB, free: 13 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.009222, allocations: 4 kB / 0.9566 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.009264, allocations: 12.86 kB / 0.9567 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.009266, allocations: 0 / 0.9567 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001317/0.009398, allocations: 45.69 kB / 0.9567 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.009413, allocations: 4 kB / 0.9567 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.00944, allocations: 7.938 kB / 0.9567 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.00946, allocations: 4 kB / 0.9567 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/0.009461, allocations: 4.109 kB / 0.9567 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.009468, allocations: 3.938 kB / 0.9567 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.386e-05/0.009491, allocations: 11.94 kB / 0.9567 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.0095, allocations: 0 / 0.9567 GB, free: 12.89 MB / 0.9167 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 8.277e-05/0.009583, allocations: 181.1 kB / 0.9569 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.009625, allocations: 112.9 kB / 0.957 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.009665, allocations: 116.7 kB / 0.9571 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.507e-05/0.00971, allocations: 180.2 kB / 0.9573 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-05/0.00976, allocations: 184.3 kB / 0.9575 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.484e-05/0.009804, allocations: 184.2 kB / 0.9576 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.009982, allocations: 388.3 kB / 0.958 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.194e-05/0.01001, allocations: 101 kB / 0.9581 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.01005, allocations: 104.9 kB / 0.9582 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.376e-05/0.01009, allocations: 184.2 kB / 0.9584 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003586/0.01045, allocations: 188.1 kB / 0.9586 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.961e-05/0.01049, allocations: 176.3 kB / 0.9587 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-05/0.01054, allocations: 188.2 kB / 0.9589 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.01064, allocations: 295.8 kB / 0.9592 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.01068, allocations: 116.9 kB / 0.9593 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.324e-05/0.01074, allocations: 180.2 kB / 0.9595 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.585e-05/0.0108, allocations: 117.2 kB / 0.9596 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.01085, allocations: 180.3 kB / 0.9598 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.01088, allocations: 105 kB / 0.9599 GB, free: 9.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.207e-05/0.01095, allocations: 105.6 kB / 0.96 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01095, allocations: 0 / 0.96 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002234/0.01117, allocations: 31.88 kB / 0.96 GB, free: 9.348 MB / 0.9167 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.0005019/0.01167, allocations: 0.8593 MB / 0.9608 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.01178, allocations: 45.62 kB / 0.9609 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.01178, allocations: 0 / 0.9609 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-06/0.01178, allocations: 0 / 0.9609 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.01216, allocations: 471.7 kB / 0.9613 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.01326, allocations: 1.458 MB / 0.9628 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.037e-05/0.01331, allocations: 69.58 kB / 0.9628 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.418e-05/0.01334, allocations: 4 kB / 0.9628 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.01337, allocations: 12.5 kB / 0.9628 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of SimCode: time 8.52e-07/0.01337, allocations: 4.031 kB / 0.9628 GB, free: 6.301 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.03654, allocations: 3.435 MB / 0.9662 GB, free: 3.035 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/6.805, allocations: 12.66 kB / 0.9662 GB, free: 3.027 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.80003459751606]