Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001807/0.001807, allocations: 113.1 kB / 16.41 MB, free: 6.488 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.002011/0.002011, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.383/1.383, allocations: 222.9 MB / 245.1 MB, free: 15.01 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 2.735/2.735, allocations: 489 MB / 0.7678 GB, free: 20 kB / 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.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 71.89 kB / 1.101 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.815/0.8169, allocations: 163.8 MB / 1.261 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002752/0.8197, allocations: 1.494 MB / 1.263 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.821, allocations: 0.8879 MB / 1.263 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.8211, allocations: 3.938 kB / 1.263 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.8214, allocations: 47.8 kB / 1.263 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.38e-05/0.8214, allocations: 7.875 kB / 1.263 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.8219, allocations: 198.3 kB / 1.264 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.42e-05/0.822, allocations: 51.67 kB / 1.264 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.8221, allocations: 10.8 kB / 1.264 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.763e-05/0.8221, allocations: 19.94 kB / 1.264 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.239e-05/0.8222, allocations: 15.92 kB / 1.264 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.8222, allocations: 0 / 1.264 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.8225, allocations: 171.7 kB / 1.264 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.8226, allocations: 8 kB / 1.264 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.8226, allocations: 19.86 kB / 1.264 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.8228, allocations: 123.6 kB / 1.264 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.8229, allocations: 0 / 1.264 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8229, allocations: 0 / 1.264 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.8229, allocations: 0 / 1.264 GB, free: 4.246 MB / 0.9669 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.0004125/0.8233, allocations: 379 kB / 1.264 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.8233, allocations: 12.03 kB / 1.264 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.25e-05/0.8234, allocations: 106 kB / 1.264 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/0.8235, allocations: 80.17 kB / 1.265 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.8238, allocations: 269.5 kB / 1.265 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.872e-05/0.8239, allocations: 154.9 kB / 1.265 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.8239, allocations: 158.9 kB / 1.265 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.871e-05/0.824, allocations: 109 kB / 1.265 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.8241, allocations: 75.28 kB / 1.265 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.925e-05/0.8241, allocations: 150.6 kB / 1.265 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.33e-05/0.8242, allocations: 150.6 kB / 1.266 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.994e-05/0.8243, allocations: 150.6 kB / 1.266 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.8246, allocations: 465.9 kB / 1.266 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.8247, allocations: 177 kB / 1.266 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.8248, allocations: 84.14 kB / 1.266 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.8248, allocations: 75.28 kB / 1.266 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/0.8249, allocations: 117.8 kB / 1.267 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.8249, allocations: 0 / 1.267 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.68e-05/0.825, allocations: 33.66 kB / 1.267 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.8251, allocations: 126.7 kB / 1.267 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.8252, allocations: 129.8 kB / 1.267 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.8252, allocations: 25.7 kB / 1.267 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.8253, allocations: 96.08 kB / 1.267 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.8253, allocations: 7.938 kB / 1.267 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.8254, allocations: 17.72 kB / 1.267 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.8255, allocations: 318.8 kB / 1.267 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.8255, allocations: 4 kB / 1.267 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.8256, allocations: 7.938 kB / 1.267 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.308e-05/0.8256, allocations: 12.86 kB / 1.267 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8256, allocations: 0 / 1.267 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001191/0.8257, allocations: 45.62 kB / 1.267 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.8258, allocations: 9.625 kB / 1.267 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.8258, allocations: 4 kB / 1.267 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.8258, allocations: 0 / 1.267 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.8258, allocations: 0 / 1.267 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.8258, allocations: 3.938 kB / 1.267 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.8258, allocations: 7.953 kB / 1.267 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.8259, allocations: 4 kB / 1.267 GB, free: 0.5117 MB / 0.9669 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 0.0001182/0.826, allocations: 185.1 kB / 1.268 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.8261, allocations: 112.9 kB / 1.268 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.703e-05/0.8261, allocations: 112.9 kB / 1.268 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.962e-05/0.8262, allocations: 184.2 kB / 1.268 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.499e-05/0.8263, allocations: 176.3 kB / 1.268 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.792e-05/0.8264, allocations: 188.2 kB / 1.268 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.8267, allocations: 409.2 kB / 1.269 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-05/0.8268, allocations: 108.9 kB / 1.269 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.8268, allocations: 112.9 kB / 1.269 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.084e-05/0.8269, allocations: 176.3 kB / 1.269 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-05/0.827, allocations: 184.2 kB / 1.269 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.169e-05/0.8271, allocations: 176.3 kB / 1.269 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.498e-05/0.8272, allocations: 184.2 kB / 1.27 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.8274, allocations: 311.8 kB / 1.27 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.8275, allocations: 194 kB / 1.27 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/0.8276, allocations: 180.3 kB / 1.27 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.931e-05/0.8277, allocations: 101 kB / 1.27 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.8278, allocations: 192.1 kB / 1.271 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.205e-05/0.8278, allocations: 109 kB / 1.271 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.588e-05/0.8279, allocations: 95.27 kB / 1.271 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8279, allocations: 0 / 1.271 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002746/0.8282, allocations: 31.88 kB / 1.271 GB, free: 12.84 MB / 0.9825 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.0006455/0.8289, allocations: 0.8653 MB / 1.272 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.829, allocations: 37.69 kB / 1.272 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.829, allocations: 3.938 kB / 1.272 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.028e-06/0.829, allocations: 4 kB / 1.272 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.8294, allocations: 474.5 kB / 1.272 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.8308, allocations: 1.471 MB / 1.274 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.8312, allocations: 0.6846 MB / 1.274 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.769e-05/0.8312, allocations: 0 / 1.274 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.8312, allocations: 15.53 kB / 1.274 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.8312, allocations: 3.938 kB / 1.274 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.8555, allocations: 2.708 MB / 1.277 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/9, allocations: 23.81 kB / 1.277 GB, free: 6.609 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.808302799938247]